[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)
committerAdrian Bunk <bunk@debian.org>
Sun, 1 Dec 2024 12:12:57 +0000 (14:12 +0200)
commit948f71cb2e804f621ed166b6d51b3b9ce3422740
tree9e91a9b1f2fdb6a38bc0546c96255f61b3abb563
parent15886292c67b1b70aa150c630989592704a88a1d
[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>
Gbp-Pq: Name 0029-3.9-Fix-tests-for-XMLPullParser-with-Expat-2.6.0-GH-.patch
Lib/test/test_xml_etree.py