mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
f34721cabd
This is not just an issue due to missing initialization since moving the state
struct directly into the module globals. In earlier versions changing the mode
to `MT_RAND_PHP` within a single request would also affect the mode for
subsequent requests.
Original commit message follows:
This is a follow-up fix for GH-13579. The issue was detected in the nightly
MSAN build.
(cherry picked from commit
|
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
engine_combinedlcg.c | ||
engine_mt19937.c | ||
engine_pcgoneseq128xslrr64.c | ||
engine_secure.c | ||
engine_user.c | ||
engine_xoshiro256starstar.c | ||
php_random.h | ||
random_arginfo.h | ||
random.c | ||
random.stub.php | ||
randomizer.c |