]> 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 07:08:29 +0000 (03:08 -0400)
committerGitHub <noreply@github.com>
Wed, 15 Aug 2018 07:08:29 +0000 (03:08 -0400)
commit981aa46dce926ce54ec1a2adbb73d1f405ef66ff
tree6c9774ed390d60d2bcffa8f16f8fe8e50f162f48
parent3e630c541b35c96bfe5619165255e559f577ee71
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