summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-03-22 07:24:34 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-03-22 07:24:34 (GMT)
commit93e8012f2cabd84f30b52e19fd3dc557efa9f8af (patch)
tree14a35ffb5655903a9ca74571996c604f5debe4a2 /Misc/NEWS.d
parent9a0000d15d27361eaa47b77600c7c00a9787a894 (diff)
downloadcpython-93e8012f2cabd84f30b52e19fd3dc557efa9f8af.zip
cpython-93e8012f2cabd84f30b52e19fd3dc557efa9f8af.tar.gz
cpython-93e8012f2cabd84f30b52e19fd3dc557efa9f8af.tar.bz2
bpo-36398: Fix a possible crash in structseq_repr(). (GH-12492)
If the first PyUnicode_DecodeUTF8() call fails in structseq_repr(), _PyUnicodeWriter_Dealloc() will be called on an uninitialized _PyUnicodeWriter.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-03-21-22-19-38.bpo-36398.B_jXGe.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-03-21-22-19-38.bpo-36398.B_jXGe.rst b/Misc/NEWS.d/next/Core and Builtins/2019-03-21-22-19-38.bpo-36398.B_jXGe.rst
new file mode 100644
index 0000000..2b00283
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-03-21-22-19-38.bpo-36398.B_jXGe.rst
@@ -0,0 +1 @@
+Fix a possible crash in ``structseq_repr()``.