You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Mladen Turk <mt...@mappingsoft.com> on 2002/04/25 13:47:08 UTC

[PATCH] mpm_winnt

Hi,

Didn't know how to name that patch.
I've been able to simulate it playing with the preloaded modules.

Basically the child tries to write to logs using corrupt ap_server_conf.

MT.

===================================================================
RCS file: /home/cvspublic/httpd-2.0/server/mpm/winnt/mpm_winnt.c,v
retrieving revision 1.266
diff -u -r1.266 mpm_winnt.c
--- mpm_winnt.c	19 Apr 2002 17:51:31 -0000	1.266
+++ mpm_winnt.c	25 Apr 2002 11:40:42 -0000
@@ -2395,6 +2395,7 @@
         return OK;
     }

+    ap_server_conf = s;
     if (ap_setup_listeners(s) < 1) {
         ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ALERT|APLOG_STARTUP,
0,
                      NULL, "no listening sockets available, shutting
down");