Skip to content

bpo-35214: Fix OOB memory access in unicode escape parser#10506

Merged
gpshead merged 3 commits intopython:masterfrom
gpshead:msan_fstring_oob
Nov 13, 2018
Merged

bpo-35214: Fix OOB memory access in unicode escape parser#10506
gpshead merged 3 commits intopython:masterfrom
gpshead:msan_fstring_oob

Conversation

@gpshead
Copy link
Member

@gpshead gpshead commented Nov 13, 2018

Discovered using clang's MemorySanitizer when it ran
test_fstring's test_misformed_unicode_character_name.

An f-string ending in \N would access one byte beyond the end of
the string while looking for a potential }.

https://bugs.python.org/issue35214

Loading
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.

4 participants