[Python-checkins] [python/cpython] 9da408: bpo-29990: Fix range checking in GB18030 decoder (...
GitHub
noreply at github.com
Mon May 8 23:38:34 EDT 2017
Branch: refs/heads/master
Home: https://github.com/python/cpython
Commit: 9da408d15bdef624a5632182cb4edf98001fa82f
https://github.com/python/cpython/commit/9da408d15bdef624a5632182cb4edf98001fa82f
Author: Xiang Zhang <angwerzx at 126.com>
Date: 2017-05-09 (Tue, 09 May 2017)
Changed paths:
M Lib/test/test_codecencodings_cn.py
M Misc/NEWS
M Modules/cjkcodecs/_codecs_cn.c
Log Message:
-----------
bpo-29990: Fix range checking in GB18030 decoder (#1495)
When decoding a 4-byte GB18030 sequence, the first and third byte cannot exceed 0xFE.
More information about the Python-checkins
mailing list