httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [PATCH] mod_mime.c core dumps with no AddType
Date Wed, 22 Aug 2001 20:38:39 GMT
From: "sterling" <sterling@covalent.net>


> It appears that the extension_mappings hash is initialized to null, then
> only instanciated if there is an AddType call in your conf file.  Hence in
> the type_checker phase it tries to perform a lookup on a null hash.
>
> this patch should fix the crash, but IMHO by that point the
> extension_mappings hash should just be empty, not null (i.e. it should be
> initialized to apr_hash_make) --

No ... it should not.

Even an empty hash must be merged in merge_per_dir_configs ... and that's
very time consuming.

Bill



Mime
View raw message