FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Key handle leaks when the audit hook fails in `winreg` · Issue #159880 · python/cpython · GitHub

Repository navigation

Key handle leaks when the audit hook fails in winreg #159880

Closed

Description

Bug report

In winreg.CreateKey(), winreg.CreateKeyEx() and winreg.OpenKey(), if the audit hook raises, the already opened key handle is not closed.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

Activity

  1. added 3 commits that reference this issue on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL