]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-27946: Fix possible crash in ElementTree.Element (GH-29915)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 5 Dec 2021 12:22:54 +0000 (14:22 +0200)
committerGitHub <noreply@github.com>
Sun, 5 Dec 2021 12:22:54 +0000 (14:22 +0200)
commitd15cdb2f32f572ce56d7120135da24b9fdce4c99
tree156e25eedbeddac79d43772dbead201da5d08f5e
parentf42a06ba279c916fb67289e47f9bc60dc5dee4ee
bpo-27946: Fix possible crash in ElementTree.Element (GH-29915)

Getting an attribute via attrib.get() simultaneously with replacing
the attrib dict can lead to access to deallocated dict.
Lib/test/test_xml_etree_c.py
Misc/NEWS.d/next/Library/2021-12-04-20-08-42.bpo-27946.-Vuarf.rst [new file with mode: 0644]
Modules/_elementtree.c