Skip to content

gh-159880: Fix key handle leak in winreg when audit hook fails - #159881

Merged
zooba merged 1 commit into
python:mainfrom
aisk:winreg-audit-leak
Oct 20, 2026
Merged

zooba merged 1 commit into
python:mainfrom
aisk:winreg-audit-leak

Conversation

@aisk

@aisk aisk commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

@aisk
aisk requested a review from a team as a code owner October 20, 2026 12:38
@zooba zooba added type-bug An unexpected behavior, bug, or error OS-windows needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Oct 20, 2026
@zooba
zooba merged commit af1e030 into python:main Oct 20, 2026
66 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @aisk for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Oct 20, 2026

Copy link
Copy Markdown

GH-159889 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Oct 20, 2026
@bedevere-app

bedevere-app Bot commented Oct 20, 2026

Copy link
Copy Markdown

GH-159890 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Oct 20, 2026
@aisk
aisk deleted the winreg-audit-leak branch October 20, 2026 15:35
zooba pushed a commit that referenced this pull request Oct 20, 2026
…ailure (GH-159881) (GH-159889)

gh-159880: Fix handle leak in winreg when audit hook returns failure (GH-159881)
(cherry picked from commit af1e030)

Co-authored-by: An Long <aisk@users.noreply.github.com>
zooba pushed a commit that referenced this pull request Oct 20, 2026
…ailure (GH-159881) (GH-159890)

gh-159880: Fix handle leak in winreg when audit hook returns failure (GH-159881)
(cherry picked from commit af1e030)

Co-authored-by: An Long <aisk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OS-windows type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants