]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-126033: fix UAF in `xml.etree.ElementTree.Element.remove` when concurrent...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 31 Mar 2025 12:50:03 +0000 (14:50 +0200)
committerGitHub <noreply@github.com>
Mon, 31 Mar 2025 12:50:03 +0000 (14:50 +0200)
commitb41c8cc671f454743c076ced412eec01565d0625
treea31a9bb9cc6d2804ca1b98bc54abeab5720636c1
parent588bb6ddf4388cefc926006e9e4752b7e62ea077
[3.13] gh-126033: fix UAF in `xml.etree.ElementTree.Element.remove` when concurrent mutations happen (GH-126124) (#131929)

gh-126033: fix UAF in `xml.etree.ElementTree.Element.remove` when concurrent mutations happen (GH-126124)
(cherry picked from commit bab1398a47f6d0cfc1be70497f306874c749ef7c)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/test/test_xml_etree.py
Misc/NEWS.d/next/Library/2024-10-29-12-59-45.gh-issue-126033.sM3uCn.rst [new file with mode: 0644]
Modules/_elementtree.c