aboutsummaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2021-01-03 05:18:25 -0700
committerGitHub <noreply@github.com>2021-01-03 13:18:25 +0100
commit5d3553b0a8959e7505bbec4de03077dbf135ee4b (patch)
treea8d80f5ee428e69ab4e05043aeaa736159b721af /Misc
parentbpo-42093: Tweak the what's new message about the new LOAD_ATTR opcode cache ... (diff)
downloadcpython-5d3553b0a8959e7505bbec4de03077dbf135ee4b.tar.gz
cpython-5d3553b0a8959e7505bbec4de03077dbf135ee4b.tar.bz2
cpython-5d3553b0a8959e7505bbec4de03077dbf135ee4b.zip
bpo-42814: Fix undefined behavior in Objects/genericaliasobject.c (GH-24073)
In is_typing_name(), va_end() is not always called before the function returns. It is undefined behavior to call va_start() without also calling va_end().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-01-03-04-41-25.bpo-42814.sDvVbb.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-03-04-41-25.bpo-42814.sDvVbb.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-03-04-41-25.bpo-42814.sDvVbb.rst
new file mode 100644
index 00000000000..6978c36f98c
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-01-03-04-41-25.bpo-42814.sDvVbb.rst
@@ -0,0 +1 @@
+Fix undefined behavior in ``Objects/genericaliasobject.c``.