4 Commits

Author SHA1 Message Date
Philippe Waroquiers
12633f0117 Modify none/tests/execve.c so to avoid infinite loop with --trace-children=yes
With --trace-children=yes, none/test/execve exec ve forever.

This avoids an infinite loop when running outer on inner regression
tests (for which --trace-children=yes is mandatory for the outer).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12440
2012-03-11 20:47:41 +00:00
Nicholas Nethercote
2047484bc5 Add a comment explaining this test.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8984
2009-01-19 21:33:25 +00:00
Tom Hughes
3a75fc74df Fix checking of execve() when argv is a null pointer.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2520
2004-07-21 16:23:38 +00:00
Tom Hughes
827e3bebb6 Don't try and validate the contents of the environment passed to
the execve system call if the envp pointer is null as it causes
valgrind to die with a segmentation fault.

CCMAIL: 83573-done@bugs.kde.org


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2427
2004-06-19 13:02:34 +00:00