Re: [PATCH] random.c bugfix

Andreas Dilger (adilger@turbolabs.com)
Mon, 29 Oct 2001 21:49:18 -0700


On Oct 29, 2001 18:23 -0600, Oliver Xymoron wrote:
> Backport to 2.2 might be a good idea too..

Note that the 2.2 kernel code is (AFAIK) quite different from the 2.4
kernel code for drivers/char/random.c. The serious bug - not incrementing
"in" was introduced in 2.3.16. The other real bug - trunctating the pool
entropy to the number of words in the pool, does not exist in 2.2. It
correctly compares it agains POOLBITS.

Cheers, Andreas

--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/