[php-src] PR #23855: Opcache: abort process when `mprotect()` or `VirtualProtect()` calls fail
| From: | DanielEScherzer | Date: | Wed, 23 Sep 2026 00:50:29 +0000 |
| Subject: | [php-src] PR #23855: Opcache: abort process when `mprotect()` or `VirtualProtect()` calls fail | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38731@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23855
Author: DanielEScherzer
If the protection call fails, the memory is likely going to have the wrong permissions and result in
a later segmentation fault when trying to use it replace the
stderr log messages with
zend_accel_error_noreturn() calls that abort the process.