]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:13 +0000 (14:50 +0200)
committerGitHub <noreply@github.com>
Mon, 31 Mar 2025 12:50:13 +0000 (14:50 +0200)
commit5d4e89141137d98a546f81210c0c449ab1d76937
treedff8efb1f4d720c5c390dbf76d826d82dd76b2bf
parentf1689b61fe16fa58cf5dab4e448a8ff1cac32f2d
[3.12] gh-126033: fix UAF in `xml.etree.ElementTree.Element.remove` when concurrent mutations happen (GH-126124) (#131930)

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