]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-148441: Avoid integer overflow in Expat's CharacterDataHandler (GH-148904...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 15 Jun 2026 13:52:47 +0000 (15:52 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Jun 2026 13:52:47 +0000 (15:52 +0200)
commit502534ed0b85223cafb9617b4c0bbf592aee62d1
tree32cddfb21b23ce88d1ba3564cfd88112b9d41709
parentffa440acb447085fda8b8615eb47cea943e3ed40
[3.13] gh-148441: Avoid integer overflow in Expat's CharacterDataHandler (GH-148904) (#149637)

* gh-148441: Avoid integer overflow in Expat's CharacterDataHandler (GH-148904)
(cherry picked from commit bc1be4f6174086b4a46e3fe656552f5bb4e6e7b2)

Co-authored-by: ByteFlow <fakeshadow1337@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* Apply suggestion from @picnixz

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
---------

Co-authored-by: ByteFlow <fakeshadow1337@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_pyexpat.py
Misc/NEWS.d/next/Library/2026-04-23-12-50-15.gh-issue-148441.zvpCkR.rst [new file with mode: 0644]
Modules/pyexpat.c