Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
Re: mod_perl-2.0.5 -- nullpointer patch
 

Index | Next | Previous | View Flat


torsten.foertsch at gmx

Feb 22, 2012, 10:07 AM


Views: 869
Permalink
Re: mod_perl-2.0.5 -- nullpointer patch [In reply to]

On Wednesday, 22 February 2012 16:13:19 Alexander.Elgert [at] t-systems wrote:
> My fix:
> cd mod_perl-2.0.5/src/modules/perl
> vi modperl_pcw.c # ap_pcw_walk_files_config
>
> if (0 == dconf->sec_file) { // nullpointer fix
> return;
> }
>
>
> Now the daemon seems to work, but I do not know, why this happens.

I have seen that while working on the 2.4 port of modperl. In the httpd24
branch each of ap_pcw_walk_location_config, ap_pcw_walk_directory_config and
ap_pcw_walk_files_config are instrumented with

if( !sconf->sec_XXX ) return;

before doing anything (where XXX is one of url, dir or file).

Would be interesting to see the configuration that triggers it. Can you
provide an as much as possible stripped down configuration that exposes the
bug?

Torsten Förtsch

--
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net

Subject User Time
mod_perl-2.0.5 -- nullpointer patch Alexander.Elgert at t-systems Feb 22, 2012, 7:13 AM
    Re: mod_perl-2.0.5 -- nullpointer patch torsten.foertsch at gmx Feb 22, 2012, 10:07 AM
        AW: mod_perl-2.0.5 -- nullpointer patch Alexander.Elgert at t-systems Feb 22, 2012, 4:39 PM
            Re: AW: mod_perl-2.0.5 -- nullpointer patch torsten.foertsch at gmx Feb 22, 2012, 11:54 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.