]> granicus.if.org Git - python/commit
bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506)
authorGregory P. Smith <greg@krypto.org>
Tue, 13 Nov 2018 21:16:54 +0000 (13:16 -0800)
committerGitHub <noreply@github.com>
Tue, 13 Nov 2018 21:16:54 +0000 (13:16 -0800)
commit746b2d35ea47005054ed774fecaed64fab803d7d
tree95df1265514b578a9c2dcc2898bbce2f100dd064
parent00b137c72f90fbc39a6cd7e48b37c58d19977180
bpo-35214: Fix OOB memory access in unicode escape parser (GH-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"'
Misc/NEWS.d/next/Core and Builtins/2018-11-13-00-40-35.bpo-35214.OQBjph.rst [new file with mode: 0644]
Objects/unicodeobject.c