SOURCES: lighttpd-bug-1836.patch (NEW) - reverse commit r2163
glen
glen at pld-linux.org
Sat Apr 11 19:49:53 CEST 2009
Author: glen Date: Sat Apr 11 17:49:53 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- reverse commit r2163
---- Files affected:
SOURCES:
lighttpd-bug-1836.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/lighttpd-bug-1836.patch
diff -u /dev/null SOURCES/lighttpd-bug-1836.patch:1.1
--- /dev/null Sat Apr 11 19:49:54 2009
+++ SOURCES/lighttpd-bug-1836.patch Sat Apr 11 19:49:48 2009
@@ -0,0 +1,22 @@
+Index: mod_cgi.c
+===================================================================
+--- mod_cgi.c (revision 2162)
++++ mod_cgi.c (revision 2163)
+@@ -987,6 +987,8 @@
+ *c = '/';
+ }
+
++ openDevNull(STDERR_FILENO);
++
+ /* we don't need the client socket */
+ for (i = 3; i < 256; i++) {
+ if (i != srv->errorlog_fd) close(i);
+@@ -995,7 +997,7 @@
+ /* exec the cgi */
+ execve(args[0], args, env.ptr);
+
+- log_error_write(srv, __FILE__, __LINE__, "sss", "CGI failed:", strerror(errno), args[0]);
++ /* log_error_write(srv, __FILE__, __LINE__, "sss", "CGI failed:", strerror(errno), args[0]); */
+
+ /* */
+ SEGFAULT();
================================================================
More information about the pld-cvs-commit
mailing list