Skip to content

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

Open
A0su wants to merge 1 commit intopython:mainfrom
A0su:add_missing_var_end_in_modsupport
Open

gh-146386:modsupport.c Missing va_end in _abiinfo_raise#146387
A0su wants to merge 1 commit intopython:mainfrom
A0su:add_missing_var_end_in_modsupport

Conversation

@A0su
Copy link
Contributor

@A0su A0su commented Mar 24, 2026

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
Copy link

bedevere-app bot commented Mar 24, 2026

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants