diff options
author | Xiang Zhang <angwerzx@126.com> | 2017-05-09 03:38:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-09 03:38:32 (GMT) |
commit | 9da408d15bdef624a5632182cb4edf98001fa82f (patch) | |
tree | 55707952ef7b86c4c333122add2bc27101c27ef0 /Misc | |
parent | fa5abac1e6cd74979557d5a6f960a55f40a10b0e (diff) | |
download | cpython-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/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |