summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-12-05 12:22:54 (GMT)
committerGitHub <noreply@github.com>2021-12-05 12:22:54 (GMT)
commitd15cdb2f32f572ce56d7120135da24b9fdce4c99 (patch)
tree156e25eedbeddac79d43772dbead201da5d08f5e /Misc
parentf42a06ba279c916fb67289e47f9bc60dc5dee4ee (diff)
downloadcpython-d15cdb2f32f572ce56d7120135da24b9fdce4c99.zip
cpython-d15cdb2f32f572ce56d7120135da24b9fdce4c99.tar.gz
cpython-d15cdb2f32f572ce56d7120135da24b9fdce4c99.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-12-04-20-08-42.bpo-27946.-Vuarf.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-12-04-20-08-42.bpo-27946.-Vuarf.rst b/Misc/NEWS.d/next/Library/2021-12-04-20-08-42.bpo-27946.-Vuarf.rst
new file mode 100644
index 0000000..0378efc
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-12-04-20-08-42.bpo-27946.-Vuarf.rst
@@ -0,0 +1,3 @@
+Fix possible crash when getting an attribute of
+class:`xml.etree.ElementTree.Element` simultaneously with
+replacing the ``attrib`` dict.