Skip to content

ext/dom: Dom\HTMLDocument::createFromString() crash on OOM. - #25124

Closed
devnexen wants to merge 1 commit into
php:PHP-8.5from
devnexen:gh25118
Closed

devnexen wants to merge 1 commit into
php:PHP-8.5from
devnexen:gh25118

Conversation

@devnexen

@devnexen devnexen commented Nov 1, 2026

Copy link
Copy Markdown
Member

Fix GH-25118

The bridge did not handle failed lexbor allocations, and on error freed template fragments after their document.

Fix phpGH-25118

The bridge did not handle failed lexbor allocations, and on error freed
template fragments after their document.
@devnexen
devnexen marked this pull request as ready for review November 1, 2026 13:06

@iliaal iliaal 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

@devnexen devnexen closed this in 0614b70 Nov 2, 2026
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.

2 participants