Skip to content

gh-146386:modsupport.c Missing va_end in _abiinfo_raise - #146387

Merged
kumaraditya303 merged 1 commit into
python:mainfrom
A0su:add_missing_var_end_in_modsupport
Mar 25, 2026
Merged

kumaraditya303 merged 1 commit into
python:mainfrom
A0su:add_missing_var_end_in_modsupport

Conversation

@A0su

@A0su A0su commented Mar 24, 2026 •

Copy link
Copy Markdown
Contributor

modsupport.c: Missing va_end in _abiinfo_raise

va_start(vargs, format) at line 689 but va_end(vargs) never called on any path. UB per C99 7.15.1.

This is a sub-issue of #146102 with original gist details

va_end was added at the two exit points.

@A0su
A0su requested a review from ericsnowcurrently as a code owner March 24, 2026 18:11
@bedevere-app

bedevere-app Bot commented Mar 24, 2026

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@kumaraditya303
kumaraditya303 merged commit 04bd543 into python:main Mar 25, 2026
53 checks passed
clin1234 pushed a commit to clin1234/cpython that referenced this pull request Apr 16, 2026
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants