]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Take a copy of the environment given to execve before trying to mangle
authorTom Hughes <tom@compton.nu>
Mon, 18 Jul 2005 14:02:11 +0000 (14:02 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 18 Jul 2005 14:02:11 +0000 (14:02 +0000)
commita85d532b0def414788fa22f0777ab25c1c75c03f
treea425300b737c8217a7714a554f185eed5c0f790e
parent0fef78785320551c0b21deef15610b5f0ea47799
Take a copy of the environment given to execve before trying to mangle
it as it might be in read only memory. Fixes bug #101881.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4162
coregrind/m_libcproc.c
coregrind/m_syswrap/syswrap-generic.c
coregrind/pub_core_libcproc.h