]> sourceware.org Git - glibc.git/commit
stdlib: Fix unintended change to the random_r implementation
authorFlorian Weimer <fweimer@redhat.com>
Mon, 20 Jan 2025 20:06:43 +0000 (21:06 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 20 Jan 2025 20:31:55 +0000 (21:31 +0100)
commit33b684e0194930ff072cf812b37c191637261dbe
tree4a96ba99c75cd9dd424bea5b5536a3215e4fedc4
parenta3131e71cf65c0c28869824de9b1b1fab363882c
stdlib: Fix unintended change to the random_r implementation

Commit d5bceac99d24af1131b90027dab267e437b65cd1 changed the sequence
of random numbers.  This was completely unintended.  The statistical
properties of the new sequences are unclear, so restore the old
behavior.

Fixes commit d5bceac99d24af1131b90027dab267e437b65cd1 ("stdlib:
random_r: fix unaligned access in initstate and initstate_r
[BZ #30584]").

Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
stdlib/random_r.c
This page took 0.036619 seconds and 5 git commands to generate.