apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Darroch <chr...@pearsoncmg.com>
Subject Re: Hash collision vectors in APR?
Date Mon, 09 Jan 2012 23:51:24 GMT
Bojan Smojver wrote:

> > On Fri, 2012-01-06 at 10:05 +1100, Bojan Smojver wrote:
>> >> Any other ideas?
> > 
> > Maybe like this?

   Something like that would be appreciated, by me, at least.

   One caution, though -- if apr_hash_make() can now return NULL,
a lot of things might suddenly break, like httpd.  If there's any
way to ensure the seed is always populated, that would be good.

   There's quite a bit of httpd code that assumes apr_hash_make()
never fails, aside from catastrophic conditions such as having no
available memory.

Thanks,

Chris.

-- 
GPG Key ID: 088335A9
GPG Key Fingerprint: 86CD 3297 7493 75BC F820  6715 F54F E648 0883 35A9


Mime
View raw message