Skip to content

gh-148441: Fix heap buffer overflow in pyexpat CharacterDataHandler#148904

Open
ByteFlowing1337 wants to merge 5 commits intopython:mainfrom
ByteFlowing1337:fix-148441
Open

gh-148441: Fix heap buffer overflow in pyexpat CharacterDataHandler#148904
ByteFlowing1337 wants to merge 5 commits intopython:mainfrom
ByteFlowing1337:fix-148441

Conversation

@ByteFlowing1337
Copy link
Copy Markdown
Contributor

@ByteFlowing1337 ByteFlowing1337 commented Apr 23, 2026

Fix the buffer overflow issue in #148441 , which will cause a core dump.

Comment thread Lib/test/test_pyexpat.py Outdated
Comment thread Lib/test/test_pyexpat.py Outdated
Comment thread Lib/test/test_pyexpat.py Outdated
Comment thread Misc/NEWS.d/next/Library/2026-04-23-12-50-15.gh-issue-148441.zvpCkR.rst Outdated
ByteFlowing1337 and others added 3 commits April 25, 2026 20:38
…vpCkR.rst

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@ByteFlowing1337
Copy link
Copy Markdown
Contributor Author

Done.

@ByteFlowing1337
Copy link
Copy Markdown
Contributor Author

@picnixz Thanks for the review. Please let me know if you have any further suggestions.

@picnixz
Copy link
Copy Markdown
Member

picnixz commented Apr 25, 2026

The EMScripten tests fail. I suspect that we don't have enough memory on those machines. So you need to also ensure that you have enough memory (I don't remembner the resourdces to request, something likie big_memory)

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