]> granicus.if.org Git - python/commit
bpo-34973: Fix crash in bytes constructor. (GH-9841)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 21 Oct 2018 12:25:53 +0000 (15:25 +0300)
committerGitHub <noreply@github.com>
Sun, 21 Oct 2018 12:25:53 +0000 (15:25 +0300)
commit914f9a078f997e58cfcfabcbb30fafdd1f277bef
treea9b35e53a19dadceb5b426cd99be74497d7d1ced
parenta323cdcb33c8c856e5668acfb2c67ab5198672c4
bpo-34973: Fix crash in bytes constructor. (GH-9841)

Constructing bytes from mutating list could cause a crash.
Lib/test/test_bytes.py
Misc/NEWS.d/next/Core and Builtins/2018-10-13-16-42-03.bpo-34973.B5M-3g.rst [new file with mode: 0644]
Objects/bytesobject.c