]> 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)
committerNed Deily <nad@python.org>
Wed, 31 Jan 2018 22:02:12 +0000 (17:02 -0500)
commit86fdad093b863db7ef6a3a00c9cff724c09442e7
treec2ca6c48b376bbc58225bfd4c0e2ce2e2041796b
parent57750be4ad3fa2cfd3473b5be1f1e1a5d0fa9f50
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