[Pkg-sysvinit-devel] Bug#378940: sysvinit: does not sanitize environment properly
Petter Reinholdtsen
pere at hungry.com
Tue Dec 25 19:39:20 UTC 2007
I found this patch in Fedora, and the description in this bug made me
believe it might be related. This patch was included in version
2.86.ds1-40 currently in experimental. Can you test this version and
let me know if it solve the problem?
--- sysvinit-2.86/src/init.c.these-are-not-the-droids-you-are-looking-for 2005-12-19 15:48:55.000000000 -0500
+++ sysvinit-2.86/src/init.c 2005-12-19 15:49:20.000000000 -0500
@@ -1884,7 +1884,7 @@
* The existing init process execs a new init binary.
*/
env = init_buildenv(0);
- execl(myname, myname, "--init", NULL, env);
+ execle(myname, myname, "--init", NULL, env);
/*
* We shouldn't be here, something failed.
Happy hacking,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list