]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) (GH-10538)
authorGregory P. Smith <greg@krypto.org>
Wed, 14 Nov 2018 19:55:07 +0000 (11:55 -0800)
committerGitHub <noreply@github.com>
Wed, 14 Nov 2018 19:55:07 +0000 (11:55 -0800)
commitb6f4472dc4190e2fd668490d86aeefd2ab0df935
treecf7a6d30f6ce9c30789fed3931c1f01a1ac89ff9
parent815fa49d1030b52a6e5fae924f92907240d90155
[2.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) (GH-10538)

Discovered using clang's MemorySanitizer.

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

Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google LLC]
Misc/NEWS.d/next/Core and Builtins/2018-11-13-17-20-18.bpo-35214.AH2F87.rst [new file with mode: 0644]
Objects/unicodeobject.c