Skip to content

Fix GH-17223: Memory leak in libxml encoding handling #17254

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

Closed
wants to merge 3 commits into from

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Dec 24, 2024

This was a bug in both libxml and PHP.
We follow up with the same change as done in GNOME/libxml2@b3871dd138.

Changing away from xmlOutputBufferCreateFilenameDefault is not possible yet because this is a stable branch and would break BC.

This was a bug in both libxml and PHP.
We follow up with the same change as done in GNOME/libxml@b3871dd138.

Changing away from `xmlOutputBufferCreateFilenameDefault` is not
possible yet because this is a stable branch and would break BC.
@nielsdos nielsdos requested a review from devnexen December 25, 2024 21:52
@nielsdos nielsdos closed this in 7be950f Dec 26, 2024
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 2025
This was a bug in both libxml and PHP.
We follow up with the same change as done in GNOME/libxml@b3871dd138.

Changing away from `xmlOutputBufferCreateFilenameDefault` is not
possible yet because this is a stable branch and would break BC.

Closes phpGH-17254.
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.

Memory leak in libxml encoding handling
2 participants