]> 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:51:12 +0000 (02:51 -0400)
committerGitHub <noreply@github.com>
Wed, 15 Aug 2018 06:51:12 +0000 (02:51 -0400)
commit2275b773ebfacb94f6a9c81d6a8b9d54771a68e8
treea946c7fd46bfd3477ac312ead8f9384d186c8ed4
parente3228a3f44e382b6cdd2b5e001b651347013a7d3
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