Skip to content
Commit 47fd753a authored by Michael Pyne's avatar Michael Pyne
Browse files

KRandom: Don't use up 16K of /dev/urandom to seed rand().

According to a bug report KRandom reads 16K from /dev/urandom when
seeding its RNG (which is just the libc RNG). This is because we simply
use QFile, which buffers by default, the fix is to avoid buffering the
output of this special file.

BUG:359485
REVIEW:127094
FIXED-IN:5.20.0
parent 548637e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment