summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2018-08-15 06:27:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2018-08-15 06:27:26 (GMT)
commit7c4ab2afb17b99eb3f61f9c73cbd548b5e0ad2c0 (patch)
treea336b89b5a916bf8bdf2ce87704e6636637b00ba /Misc
parent88bfd0bce05043f658e50addd21366f317995e35 (diff)
downloadcpython-7c4ab2afb17b99eb3f61f9c73cbd548b5e0ad2c0.zip
cpython-7c4ab2afb17b99eb3f61f9c73cbd548b5e0ad2c0.tar.gz
cpython-7c4ab2afb17b99eb3f61f9c73cbd548b5e0ad2c0.tar.bz2
closes bpo-34400: Fix undefined behavior in parsetok(). (GH-4439)
Avoid undefined pointer arithmetic with NULL.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-08-14-03-52-43.bpo-34400.AJD0bz.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-08-14-03-52-43.bpo-34400.AJD0bz.rst b/Misc/NEWS.d/next/Core and Builtins/2018-08-14-03-52-43.bpo-34400.AJD0bz.rst
new file mode 100644
index 0000000..768f5a2
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-08-14-03-52-43.bpo-34400.AJD0bz.rst
@@ -0,0 +1 @@
+Fix undefined behavior in parsetok.c. Patch by Zackery Spytz.