diff options
author | Florian Weimer <fweimer@redhat.com> | 2025-01-20 21:06:43 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2025-01-20 21:31:55 +0100 |
commit | 33b684e0194930ff072cf812b37c191637261dbe (patch) | |
tree | 4a96ba99c75cd9dd424bea5b5536a3215e4fedc4 /stdlib/tst-rand-sequence.c | |
parent | a3131e71cf65c0c28869824de9b1b1fab363882c (diff) | |
download | glibc-33b684e0194930ff072cf812b37c191637261dbe.zip glibc-33b684e0194930ff072cf812b37c191637261dbe.tar.gz glibc-33b684e0194930ff072cf812b37c191637261dbe.tar.bz2 |
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>
Diffstat (limited to 'stdlib/tst-rand-sequence.c')
0 files changed, 0 insertions, 0 deletions