This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Undefined behavior in Objects/genericaliasobject.c
Type: Stage: resolved
Components: Interpreter Core Versions: Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, vstinner
Priority: normal Keywords: patch

Created on 2021-01-03 11:40 by ZackerySpytz, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 24073 merged ZackerySpytz, 2021-01-03 11:42
Messages (3)
msg384261 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2021-01-03 11:40
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().
msg384266 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-01-03 12:18
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
msg384267 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-01-03 12:22
Thanks for the fix!
History
Date User Action Args
2022-04-11 14:59:39adminsetgithub: 86980
2021-01-03 12:22:16vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg384267

stage: patch review -> resolved
2021-01-03 12:18:30vstinnersetnosy: + vstinner
messages: + msg384266
2021-01-03 11:42:49ZackerySpytzsetkeywords: + patch
stage: patch review
pull_requests: + pull_request22906
2021-01-03 11:40:24ZackerySpytzcreate