]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] Fix tests for XMLPullParser with Expat 2.6.0 (GH-115133) (GH-115535)
authorSeth Michael Larson <seth@python.org>
Wed, 21 Feb 2024 11:22:55 +0000 (05:22 -0600)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2024 11:22:55 +0000 (12:22 +0100)
commitdafb4f0c6be53b6afd3beb7ddbce1c22b4f376bc
tree24453de70c94c610367638ec2cb963e617a459cb
parentc23f74903f133d83249c830e65322be3c32b64a2
[3.9] Fix tests for XMLPullParser with Expat 2.6.0 (GH-115133) (GH-115535)

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]