]> git.ipfire.org Git - thirdparty/coreutils.git/commit
shuf: fix randomness bug
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Aug 2024 05:31:20 +0000 (22:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Aug 2024 06:22:53 +0000 (23:22 -0700)
commitbfbb3ec7f798b179d7fa7b42673e068b18048899
tree445f77d7bd94391a54eea6a0baf93c4131178920
parent1ae98dbda7322427e8226356fd110d2553f5fac9
shuf: fix randomness bug

Problem reported by Daniel Carpenter <https://bugs.gnu.org/72445>.
* gl/lib/randread.c (randread_new): Fill the ISAAC buffer
instead of storing at most BYTES_BOUND bytes into it.
NEWS
THANKS.in
gl/lib/randread.c