[issue42814] Undefined behavior in Objects/genericaliasobject.c

2021-01-03 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue42814] Undefined behavior in Objects/genericaliasobject.c

2021-01-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5d3553b0a8959e7505bbec4de03077dbf135ee4b by Zackery Spytz in branch 'master': bpo-42814: Fix undefined behavior in Objects/genericaliasobject.c (GH-24073) https://github.com/python/cpython/commit/5d3553b0a8959e7505bbec4de03077dbf135ee4b --

[issue42814] Undefined behavior in Objects/genericaliasobject.c

2021-01-03 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +22906 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24073 ___ Python tracker ___ __

[issue42814] Undefined behavior in Objects/genericaliasobject.c

2021-01-03 Thread Zackery Spytz
New submission from Zackery Spytz : 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(). -- components: Interpreter Core messages: 384261 nosy: ZackerySpytz priority: normal severity: