]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (#115525)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 19 Feb 2024 13:38:49 +0000 (14:38 +0100)
committerGitHub <noreply@github.com>
Mon, 19 Feb 2024 13:38:49 +0000 (13:38 +0000)
commitd9c79e1364c373dfa583d304fb513be7853906d0
treeebbb755f6f3e642016f26667e9a1c3bd1f555b36
parent6091fbda8bceda96a915deb4493bf8d73df67c01
[3.10] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (#115525)

gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164)

Feeding the parser by too small chunks defers parsing to prevent
CVE-2023-52425. Future versions of Expat may be more reactive.
(cherry picked from commit 4a08e7b3431cd32a0daf22a33421cd3035343dc4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_xml_etree.py
Misc/NEWS.d/next/Library/2024-02-08-14-21-28.gh-issue-115133.ycl4ko.rst [new file with mode: 0644]