[php-src] PR #13735: Fix GH-13712: Segmentation fault for enabled observers when calling trait method of internal trait when opcache is loaded
| From: | bwoebi | Date: | Sun, 17 Mar 2024 01:02:02 +0000 |
| Subject: | [php-src] PR #13735: Fix GH-13712: Segmentation fault for enabled observers when calling trait method of internal trait when opcache is loaded | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25448@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13735
Author: bwoebi
Inherited methods regardless of source must share the original runtime cache. Traits were missed.
This adds ZEND_ACC_TRAIT_CLONE to internal functions as well to allow easy distinction of these.
On top of that, also fixing the minimum base of the shared opcache memory to 0x4000 to avoid a
possible 0x0 base, which may cause all sorts of segfaults. (Breaks WSL 1.)