]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (GH-115289)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Feb 2024 10:38:04 +0000 (11:38 +0100)
committerGitHub <noreply@github.com>
Sun, 11 Feb 2024 10:38:04 +0000 (10:38 +0000)
commit3501eca89e27873f6037abcb39e5031dfbce7077
tree6f4383c98bfd645fb7fa73e47ae12a3c5a7cb843
parentdd28e8252705a17c3ddd7e8d7ee1cd29472cb1e9
[3.11] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (GH-115289)

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]