]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (GH-115536)
authorSeth Michael Larson <seth@python.org>
Wed, 21 Feb 2024 11:18:41 +0000 (05:18 -0600)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2024 11:18:41 +0000 (12:18 +0100)
commit366f3152a7313a7f3ab266dcbf333062afa49675
tree9f7d7b4935175f449a9d1bff75eea53a2dfadc22
parenta21c0c7def9a8495f1166d9b434dfc301cb92bff
[3.8] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (GH-115536)

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]