summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2017-05-09 03:38:32 (GMT)
committerGitHub <noreply@github.com>2017-05-09 03:38:32 (GMT)
commit9da408d15bdef624a5632182cb4edf98001fa82f (patch)
tree55707952ef7b86c4c333122add2bc27101c27ef0 /Misc
parentfa5abac1e6cd74979557d5a6f960a55f40a10b0e (diff)
downloadcpython-9da408d15bdef624a5632182cb4edf98001fa82f.zip
cpython-9da408d15bdef624a5632182cb4edf98001fa82f.tar.gz
cpython-9da408d15bdef624a5632182cb4edf98001fa82f.tar.bz2
bpo-29990: Fix range checking in GB18030 decoder (#1495)
When decoding a 4-byte GB18030 sequence, the first and third byte cannot exceed 0xFE.
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 5e5ce59..b934888 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -317,6 +317,8 @@ Extension Modules
Library
-------
+- bpo-29990: Fix range checking in GB18030 decoder. Original patch by Ma Lin.
+
- bpo-29979: rewrite cgi.parse_multipart, reusing the FieldStorage class and
making its results consistent with those of FieldStorage for
multipart/form-data requests. Patch by Pierre Quentel.