infinite loop in win32 randomness gatherer
Werner Koch
wk at gnupg.org
Tue Jan 18 17:40:15 CET 2005
On Tue, 18 Jan 2005 10:03:12 -0500, Ian Goldberg said:
> slow_gatherer_windows95 walks the heap table and adds everything in it
> to the randomness pool. What seems to be happening is that the act of
Hmmm, I switched over to W2000 so I have not tested it for a long time.
> adding things to the pool, is changing the table, and you end up with an
> infinite loop if that change is to add an item _after_ the place you
> currently are in the scan.
I need to check Peter Gutmann's latest revision of cryptlib - the code
is basically his and I shoudl really update it.
> Here's a patch that just cuts your losses by adding a maximum of 500
> heap entries. It seems to work Much Better Now (tm). ;-)
Thanks,
Werner
More information about the Gcrypt-devel
mailing list