httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian J. France" <br...@brianfrance.com>
Subject Re: "httpd -X" segfaults with 2.4.17
Date Tue, 09 Feb 2016 22:07:06 GMT
This hasn't made it into the 2.4.x branch yet, what is the status of getting this in the .19
release?

http://svn.apache.org/viewvc?view=revision&revision=1711479

Thanks,

Brian


> On Oct 16, 2015, at 8:06 AM, Yann Ylavic <ylavic.dev@gmail.com> wrote:
> 
> Hi Jan,
> 
> On Fri, Oct 16, 2015 at 1:58 PM, Jan Kalu┼ża <jkaluza@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.
> 


Mime
View raw message