summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-10-02 10:13:14 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-10-02 10:13:14 (GMT)
commit58c8f2bb6de115b620cec3cf995f04005573765c (patch)
treed5baea3027a00eb820002365608c30762d7da22e /Misc
parentb9d98d532cb9bdebff9854eaff91fea13769a595 (diff)
parent28b21e50c8f1bc9f4524b02df75b83f3b5efacb4 (diff)
downloadcpython-58c8f2bb6de115b620cec3cf995f04005573765c.zip
cpython-58c8f2bb6de115b620cec3cf995f04005573765c.tar.gz
cpython-58c8f2bb6de115b620cec3cf995f04005573765c.tar.bz2
Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:
1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate. 3. In some circumstances the '\xfd' character was produced instead of the replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 41852a4..fcc9fe3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -11,6 +11,8 @@ Release date: TBA
Core and Builtins
-----------------
+- Issue #24848: Fixed a number of bugs in UTF-7 decoding of misformed data.
+
- Issue #25280: Import trace messages emitted in verbose (-v) mode are no
longer formatted twice.