Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.6] bpo-29990: Fix range checking in GB18030 decoder #1507

Merged
merged 1 commit into from
May 9, 2017

Conversation

zhangyangyu
Copy link
Member

When decoding a 4-byte GB18030 sequence, the first and third byte cannot exceed 0xFE.

When decoding a 4-byte GB18030 sequence, the first and third byte cannot exceed 0xFE.
@zhangyangyu zhangyangyu changed the title bpo-29990: Fix range checking in GB18030 decoder (#1495) [3.6] bpo-29990: Fix range checking in GB18030 decoder (#1495) May 9, 2017
@zhangyangyu zhangyangyu changed the title [3.6] bpo-29990: Fix range checking in GB18030 decoder (#1495) [3.6] bpo-29990: Fix range checking in GB18030 decoder May 9, 2017
@zhangyangyu zhangyangyu merged commit 72e1b61 into python:3.6 May 9, 2017
@zhangyangyu zhangyangyu deleted the backport-3.6-bpo-29990 branch May 9, 2017 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants