[php-src] PR #24664: Fix GH-17733: System entropy does not take into account function order, resulting in wrong functions possibly called in different
configurations
| From: | ndossche | Date: | Sat, 24 Oct 2026 22:11:40 +0000 |
| Subject: | [php-src] PR #24664: Fix GH-17733: System entropy does not take into account function order, resulting in wrong functions possibly called in different configurations |
||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39843@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24664
Author: ndossche
This properly fixes the entropy computation to take into account function ordering and module
versions. This is basically a reintroduction of the previously removed code from GH-5871, but a
simpler version. Since this runs once every module startup, the overhead is negligible as it does
not influence the request.
I chose this simple approach rather than the suggestion to introduce multiple system entropies based
on shm/file-cache.
This PR also simplifies some other parts, since we can get rid of some workarounds.