]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35714: Reject null characters in struct format strings (GH-16928)
authorZackery Spytz <zspytz@gmail.com>
Mon, 25 May 2020 07:55:09 +0000 (01:55 -0600)
committerGitHub <noreply@github.com>
Mon, 25 May 2020 07:55:09 +0000 (10:55 +0300)
commit3f59b55316f4c6ab451997902579aa69020b537c
tree1b3d9129922050565b1ae301916d3e540b81b9ba
parent372ee27d4958302dac7ad6a8711f6fd04771b2e6
bpo-35714: Reject null characters in struct format strings (GH-16928)

struct.error is now raised if there is a null character in a struct
format string.
Lib/test/test_struct.py
Misc/NEWS.d/next/Library/2019-10-25-23-45-49.bpo-35714.fw3xb7.rst [new file with mode: 0644]
Modules/_struct.c