]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] random: fix error in entropy extraction (CVE-2007-2453 1 of 2)
authorMatt Mackall <mpm@selenic.com>
Wed, 30 May 2007 02:54:27 +0000 (21:54 -0500)
committerChris Wright <chrisw@sous-sol.org>
Thu, 7 Jun 2007 21:25:30 +0000 (14:25 -0700)
commit374f167dfb97c1785515a0c41e32a66b414859a8
treef17e13e7ef53bfb915476a98539dd0eab9755c1d
parentdcf1697d4b4b9b94363b5fb0d97f7949602922ab
[PATCH] random: fix error in entropy extraction (CVE-2007-2453 1 of 2)

Fix cast error in entropy extraction.
Add comments explaining the magic 16.
Remove extra confusing loop variable.

Signed-off-by: Matt Mackall <mpm@selenic.com>
Acked-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/char/random.c