Skip to content

Fix GH-18304: Changing the properties of a DateInterval through dynamic properties triggers a SegFault - #18307

Closed
ndossche wants to merge 1 commit into
php:PHP-8.3from
ndossche:fix-18304
Closed

ndossche wants to merge 1 commit into
php:PHP-8.3from
ndossche:fix-18304

Conversation

@ndossche

Copy link
Copy Markdown
Member

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.

…namic properties triggers a SegFault

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.
@ndossche
ndossche marked this pull request as ready for review April 11, 2025 17:53
@ndossche ndossche closed this in ba08538 Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changing the properties of a DateInterval through dynamic properties triggers a SegFault

2 participants