]> granicus.if.org Git - python/commit
bpo-32583: Fix possible crashing in builtin Unicode decoders (#5325)
authorXiang Zhang <angwerzx@126.com>
Wed, 31 Jan 2018 12:48:05 +0000 (20:48 +0800)
committerGitHub <noreply@github.com>
Wed, 31 Jan 2018 12:48:05 +0000 (20:48 +0800)
commit2c7fd46e11333ef5e5cce34212f7d087694f3658
tree0497c3b1fa32112a475fe3b7da5390b59205f7fd
parent84521047e413d7d1150aaa1c333580b683b3f4b1
bpo-32583: Fix possible crashing in builtin Unicode decoders (#5325)

When using customized decode error handlers, it is possible for builtin decoders
to write out-of-bounds and then crash.
Lib/test/test_codeccallbacks.py
Misc/NEWS.d/next/Core and Builtins/2018-01-26-21-20-21.bpo-32583.Fh3fau.rst [new file with mode: 0644]
Objects/unicodeobject.c