]> 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:23:04 +0000 (14:23 -0700)
commit54bb290bb2bad45d45cae1399181a233ffbc487b
tree8a05d140abda931a8bed246493cbd114cc69f1ee
parentfcfbb42bd476ed54b598d917d3b9b63d8835093e
[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