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

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]