From: Brian Pane Date: Thu, 22 Nov 2001 05:13:29 +0000 (+0000) Subject: fix segv in worker MPM following check_pipe_of_death() call X-Git-Tag: 2.0.29~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f6d317946207784ed5d7bd6fc47e526ec9873870;p=apache fix segv in worker MPM following check_pipe_of_death() call git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92130 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index ae896c9568..fbc5e8ac84 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ Changes with Apache 2.0.29-dev + *) Fix segv in worker MPM following accept on pipe-of-death + [Brian Pane] + *) Add mod_deflate to experimental. [Ian Holsman, Justin Erenkrantz] diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index d29e22881c..339315d48a 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -531,6 +531,7 @@ static void check_infinite_requests(void) /* Sets workers_may_exit if we received a character on the pipe_of_death */ static apr_status_t check_pipe_of_death(void **csd, ap_listen_rec *lr, apr_pool_t *ptrans) { + *csd = NULL; apr_thread_mutex_lock(pipe_of_death_mutex); if (!workers_may_exit) { apr_status_t ret;