mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
![]() There might be a moment when the child log event is executed after freeing a child. That could possibly happen if the child output is triggered at the same as the terminating of the child. Then the output event could be potentially processed after the terminating event which would cause this kind of issue. The issue might got more visible after introducing the log_stream on a child because it is more likely that this cannot be dereferenced after free. However it is very hard to reproduce this issue so there is no test for this. The fix basically prevents passing a child pointer and instead passes the child PID and then looks the child up by the PID when it is being processed. This is obviously slower but it is a safe way to do it and the slow down should not be hopefully visible in a way that it would overload a master process. |
||
---|---|---|
.. | ||
apache2handler | ||
cgi | ||
cli | ||
embed | ||
fpm | ||
fuzzer | ||
litespeed | ||
phpdbg |