summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-18 06:49:54 (GMT)
committerGitHub <noreply@github.com>2018-10-18 06:49:54 (GMT)
commit6f906b3d727d6b341abd5ad9c0652bbcbd5eb024 (patch)
treeaa3396ba6ac0e2d97162137235436ba126ce3057 /Misc
parent9d4712bc8f26bf1d7e626b53ab092fe030bcd68d (diff)
downloadcpython-6f906b3d727d6b341abd5ad9c0652bbcbd5eb024.zip
cpython-6f906b3d727d6b341abd5ad9c0652bbcbd5eb024.tar.gz
cpython-6f906b3d727d6b341abd5ad9c0652bbcbd5eb024.tar.bz2
bpo-35008: Fix possible leaks in Element.__setstate__(). (GH-9924)
C implementation of xml.etree.ElementTree.Element.__setstate__() leaked references to children when called for already initialized element.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-10-17-11-54-04.bpo-35008.dotef_.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-10-17-11-54-04.bpo-35008.dotef_.rst b/Misc/NEWS.d/next/Library/2018-10-17-11-54-04.bpo-35008.dotef_.rst
new file mode 100644
index 0000000..3d12a91
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-10-17-11-54-04.bpo-35008.dotef_.rst
@@ -0,0 +1,3 @@
+Fixed references leaks when call the ``__setstate__()`` method of
+:class:`xml.etree.ElementTree.Element` in the C implementation for already
+initialized element.