Skip to content

Fix GH-16039: Segmentation fault (access null pointer) in ext/dom/parentnode/tree.c - #16056

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

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

Conversation

@ndossche

Copy link
Copy Markdown
Member

dom_object_get_node() can fail if we don't have a user object associated.

This is gonna be a fun one to merge upwards...

@Girgias Girgias 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.

LGTM, just one question about if we even want to let this not throw an exception

Comment thread ext/dom/parentnode.c Resolved
…parentnode/tree.c

dom_object_get_node() can fail if we don't have a user object
associated.

Closes phpGH-16056.

@Girgias Girgias 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.

LGTM if CI is green (ignore Cirrus as we are at the end of the month and no more credit)

@ndossche ndossche closed this in 043b9e1 Sep 25, 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 (access null pointer) in ext/dom/parentnode/tree.c

2 participants