[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)
committerSean Whitton <spwhitton@spwhitton.name>
Thu, 20 Mar 2025 02:07:39 +0000 (10:07 +0800)
commit2cac65263c1f8b9dc4ea69352ae0d4ea8ba8f229
tree42d09e8a9994470f97f8c10e915d9296dd76bb03
parentc55b74f64e131441d7df6bf08e098ef267ec37fe
[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