Skip to content
Commit 46f6fdb6 authored by Matt Mackall's avatar Matt Mackall Committed by Adrian Bunk
Browse files

random: fix seeding with zero entropy (CVE-2007-2453 2 of 2)



Add data from zero-entropy random_writes directly to output pools to
avoid accounting difficulties on machines without entropy sources.

Tested on lguest with all entropy sources disabled.

Signed-off-by: default avatarMatt Mackall <mpm@selenic.com>
Acked-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
parent 5561123a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment