Skip to content

Fix GH-15837: Segmentation fault in ext/simplexml/simplexml.c - #15841

Closed
ndossche wants to merge 1 commit into
php:PHP-8.2from
ndossche:fix-15837
Closed

ndossche wants to merge 1 commit into
php:PHP-8.2from
ndossche:fix-15837

Conversation

@ndossche

Copy link
Copy Markdown
Member

We should check if the iterator data is still valid, because if it isn't, then the type info is UNDEF, but the pointer value may be dangling.

We should check if the iterator data is still valid, because if it
isn't, then the type info is UNDEF, but the pointer value may be
dangling.
@ndossche ndossche linked an issue Sep 11, 2024 that may be closed by this pull request

@devnexen devnexen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LCTM

@ndossche ndossche closed this in b5834c1 Sep 11, 2024
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.

Segmentation fault in ext/simplexml/simplexml.c

2 participants