|
From: Eyal L. <ey...@ey...> - 2004-02-13 12:37:14
|
Nicholas Nethercote wrote: > > On Fri, 13 Feb 2004, Eyal Lebedinsky wrote: > > > As you can see this exception is reported in popen(), where the > > application does not have control over argv[] or envp[]. > > > > The command executed is something like this: > > char cmd[256]; > > sprintf (cmd, ... > > fp = popen (cmd, "r"); > > > > I am reasonably sure that 'cmd' has the correct content at popen() time. > > I only just added checking for execve(), so I can certainly believe it's > not quite right. But I can't replicate the problem -- can you come up > with a small test case? Thanks. How about this one. Run as "sh zz27.sh". Enjoy. -- Eyal Lebedinsky (ey...@ey...) <http://samba.org/eyal/> |