Hi Jan,

On Fri, Oct 16, 2015 at 1:58 PM, Jan Kaluža <jkal...@redhat.com> wrote:
> Hi,
>
> httpd 2.4.17 segfaults when used with prefork MPM (and probably also with
> other MPMs) and -X option since r1705492.
>
> The crash happens in the following call in prefork.c (and probably also
> worker.c and so on):
>
>     ap_mpm_pod_check(my_bucket->pod)
>
> pod is NULL and later dereferenced.
>
> The pod is NULL because of the following:
>
>         if (!one_process && /* no POD in one_process mode */
>                 (rv = ap_mpm_pod_open(pconf, &all_buckets[i].pod))) {

This is a bad copy-and-paste from the worker/event logic, which I'm to
blame for...
I think we should simply remove the !one_process check here.

Regards,
Yann.

Reply via email to