Skip to content

[2.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) #10538

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

Merged
merged 3 commits into from
Nov 14, 2018

Conversation

gpshead
Copy link
Member

@gpshead gpshead commented Nov 14, 2018

Discovered using clang's MemorySanitizer.

An msan build will fail by simply executing: ./python -c 'u"\N"'
(cherry picked from commit 746b2d3)

Co-authored-by: Gregory P. Smith [email protected] [Google LLC]

https://bugs.python.org/issue35214

@gpshead gpshead merged commit b6f4472 into python:2.7 Nov 14, 2018
@gpshead gpshead deleted the backport-746b2d3-2.7-try2 branch November 14, 2018 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants