httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH] mod_mime.c core dumps with no AddType
Date Wed, 22 Aug 2001 20:19:30 GMT
sterling <sterling@covalent.net> writes:

> 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) --

+1 to a patch which initializes apr_hash_make() more sanely so we
don't have to keep checking

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message