commit | be2fe8df51b4c1d66b295db0a7c445e6d33d895b | [log] [tgz] |
---|---|---|
author | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Aug 23 10:11:02 2011 +0000 |
committer | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Tue Aug 23 10:11:02 2011 +0000 |
tree | 0dd82fa7bdb3f2430c5c470629f3e0cb76a04472 | |
parent | 70d71c7de8d70615d17be7bcd3b0e047d455fbfb [diff] |
Make a copy of any environment string we are going to modify when we are cleaning up the environment before an exec, otherwise we will seg fault if the string is read only. Fixes #270326. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12001 a5019735-40e9-0310-863c-91ae7b9d1cf9