[php-src] PR #18307: Fix GH-18304: Changing the properties of a DateInterval through dynamic properties triggers a SegFault
| From: | nielsdos | Date: | Fri, 11 Apr 2025 16:26:55 +0000 |
| Subject: | [php-src] PR #18307: Fix GH-18304: Changing the properties of a DateInterval through dynamic properties triggers a SegFault | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31378@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18307
Author: nielsdos
For dynamic fetches the cache_slot will be NULL, so we have to check for that when resetting the
cache. For zip and xmlreader this couldn't easily be tested because of a lack of writable
properties.