mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
![]() The shadow key is refreshed when resetting the memory manager between two requests. But in forking SAPIs the first request of a child process inherits the shadow key of the parent. As a result, a leak of the shadow key during the first request of one process gives away the shadow key used during the first request of other processes. This makes the key refresh mechanism less useful. Here I ensure that we refresh the shadow key after a fork. We can not reset the manager as there may be active allocations. Instead, we have to recompute shadow pointers with the new key. Closes GH-16765 |
||
---|---|---|
.. | ||
apache2handler | ||
cgi | ||
cli | ||
embed | ||
fpm | ||
fuzzer | ||
litespeed | ||
phpdbg |