]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
closes bpo-34400: Fix undefined behavior in parsetok(). (GH-4439)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 15 Aug 2018 06:59:11 +0000 (02:59 -0400)
committerGitHub <noreply@github.com>
Wed, 15 Aug 2018 06:59:11 +0000 (02:59 -0400)
commit00aebabc7139741fadfe877372c733a2160c7dbd
treed0e80727744d997448ab04424669617759220485
parent1f34aece28d143edb94ca202e661364ca394dc8c
closes bpo-34400: Fix undefined behavior in parsetok(). (GH-4439)

Avoid undefined pointer arithmetic with NULL.
(cherry picked from commit 7c4ab2afb17b99eb3f61f9c73cbd548b5e0ad2c0)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Misc/NEWS.d/next/Core and Builtins/2018-08-14-03-52-43.bpo-34400.AJD0bz.rst [new file with mode: 0644]
Parser/parsetok.c