[php-src] PR #19993: Fix OSS-Fuzz #447521098
| From: | nielsdos | Date: | Mon, 29 Sep 2025 15:45:42 +0000 |
| Subject: | [php-src] PR #19993: Fix OSS-Fuzz #447521098 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33390@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19993
Author: nielsdos
There are exit points (via bailout) in this function that do not free the recorded errors. This can
cause issues when an error is emitted during shutdown as ZendMM will have shut down already but the
pointer is still pointing to ZendMM memory.
This became visible after 7b3e68ff690fd36a8c733c598f75fb648f6e35e1
We also need to backport part of this patch to handle signal unblocking and opcache memory
protection, otherwise we get issues (and errors about depth level in zend_signals).