[Python-checkins] [python/cpython] 72e1b6: bpo-29990: Fix range checking in GB18030 decoder (...

GitHub noreply at github.com
Tue May 9 00:16:51 EDT 2017


 Branch: refs/heads/3.6
 Home: https://github.com/python/cpython
 Commit: 72e1b61da0920c5607481304879e039b63e2a3d5
 https://github.com/python/cpython/commit/72e1b61da0920c5607481304879e039b63e2a3d5
 Author: Xiang Zhang <angwerzx at 126.com>
 Date: 2017年05月09日 (2017年5月09日)
 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) (#1507)
When decoding a 4-byte GB18030 sequence, the first and third byte cannot exceed 0xFE.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /