From 5d3553b0a8959e7505bbec4de03077dbf135ee4b Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Sun, 3 Jan 2021 05:18:25 -0700 Subject: 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(). --- .../next/Core and Builtins/2021-01-03-04-41-25.bpo-42814.sDvVbb.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-01-03-04-41-25.bpo-42814.sDvVbb.rst (limited to 'Misc') 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``. -- cgit v1.2.3-65-gdbad