[3.8] bpo-35714: Reject null characters in struct format strings (GH-16928) by ZackerySpytz · Pull Request #20419 · python/cpython

added 2 commits

May 26, 2020 02:12
…honGH-16928)

struct.error is now raised if there is a null character in a struct
format string.
(cherry picked from commit 3f59b55)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>

serhiy-storchaka

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

May 26, 2020
…honGH-16928) (pythonGH-20419)

struct.error is now raised if there is a null character in a struct
format string.
(cherry picked from commit 3f59b55)
(cherry picked from commit 5ff5edf)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>

miss-islington added a commit that referenced this pull request

May 26, 2020
…16928) (GH-20419)

struct.error is now raised if there is a null character in a struct
format string.
(cherry picked from commit 3f59b55)
(cherry picked from commit 5ff5edf)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>