apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: Hash collision vectors in APR?
Date Wed, 11 Jan 2012 00:01:49 GMT
On Tue, 2012-01-10 at 15:29 -0800, Chris Darroch wrote:

>    The patch might also need to account for the !APR_HAS_RANDOM case,
> now that I look again.

Yes, true.

>    So I'm less than certain what to suggest here ...

We can always use ANSI C rand()/srand() (racy) or even other APR random
functions from
http://apr.apache.org/docs/apr/1.4/group__apr__random.html.

PS. The address of ht will be somewhat random on Linux platforms with
exec shield.

-- 
Bojan


Mime
View raw message