[php-src] PR #13690: random: Initialize the `mode` field when seeding in `php_random_default_status()`

From: Date: Tue, 12 Mar 2024 20:36:03 +0000
Subject: [php-src] PR #13690: random: Initialize the `mode` field when seeding in `php_random_default_status()`
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-25393@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/13690 Author: TimWolla Unfortunately this is not really testable, as the used mode is not externally observable. ---------- 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 bf0abd1629291c193064a9cb95a2da3565decc38)

« previous php.git-pulls (#25393) next »