Commit 746b2d3
authored
bpo-35214: Fix OOB memory access in unicode escape parser (pythonGH-10506)
Discovered using clang's MemorySanitizer when it ran python3's
test_fstring test_misformed_unicode_character_name.
An msan build will fail by simply executing: ./python -c 'u"\N"'1 parent 00b137c commit 746b2d3
File tree
2 files changed
+4
-1
lines changed- Misc/NEWS.d/next/Core and Builtins
- Objects
2 files changed
+4
-1
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6069 | 6069 | | |
6070 | 6070 | | |
6071 | 6071 | | |
6072 | | - | |
| 6072 | + | |
6073 | 6073 | | |
6074 | 6074 | | |
6075 | 6075 | | |
| |||
0 commit comments