Skip to content

Fix GH-14124: Segmentation fault on unknown address 0x0001ffff8041 with XML extension under certain memory limit #14126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 4, 2024

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented May 4, 2024

The ltags were not initialized.

This issue exists also on all lower branches, but it's only easily testable on master. So after merging I'll backport the fix without test to lower branches.

… with XML extension under certain memory limit

The ltags were not initialized.
@nielsdos nielsdos merged commit 234b3cb into php:master May 4, 2024
9 of 10 checks passed
nielsdos added a commit that referenced this pull request May 4, 2024
…th XML extension under certain memory limit (#14126)

The ltags were not initialized, so when an OOM happens before the new value is written, uninitialized data is used.
nielsdos added a commit that referenced this pull request May 4, 2024
* PHP-8.2:
  Fix GH-14124: Segmentation fault on unknown address 0x0001ffff8041 with XML extension under certain memory limit (#14126)
nielsdos added a commit that referenced this pull request May 4, 2024
* PHP-8.3:
  Fix GH-14124: Segmentation fault on unknown address 0x0001ffff8041 with XML extension under certain memory limit (#14126)
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 on unknown address 0x0001ffff8041 with XML extension under certain memory limit
2 participants