summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-04-02 16:15:06 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-04-02 16:15:06 (GMT)
commit9b09ba1234f8ba7a01eaf8986147ae0758712089 (patch)
tree04928077ec795bc7fd41d0e5ab77532bb2092b08 /Misc
parent24dfb05d4f7de2d28db2c69560d3afa8f612242c (diff)
downloadcpython-9b09ba1234f8ba7a01eaf8986147ae0758712089.zip
cpython-9b09ba1234f8ba7a01eaf8986147ae0758712089.tar.gz
cpython-9b09ba1234f8ba7a01eaf8986147ae0758712089.tar.bz2
bail in unicode error's __str__ methods if the objects are not properly initialized (closes #21134)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0458c4e..9e59154 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ Release date: TBA
Core and Builtins
-----------------
+- Issue #21134: Fix segfault when str is called on an uninitialized
+ UnicodeEncodeError, UnicodeDecodeError, or UnicodeTranslateError object.
+
- Issue #19537: Fix PyUnicode_DATA() alignment under m68k. Patch by
Andreas Schwab.