Skip to content

Fix a leak in _PyImport_LoadDynamicModuleWithSpec() after failing PySys_Audit() - #28862

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:importdl-audit-leak
Oct 11, 2021
Merged

serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:importdl-audit-leak

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

No description provided.

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nicely spotted ;-)

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 11, 2021
…ys_Audit() (pythonGH-28862)

(cherry picked from commit 9883ca4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

GH-28868 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 11, 2021
…ys_Audit() (pythonGH-28862)

(cherry picked from commit 9883ca4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

GH-28869 is a backport of this pull request to the 3.9 branch.

miss-islington added a commit that referenced this pull request Oct 11, 2021
…ys_Audit() (GH-28862)

(cherry picked from commit 9883ca4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington added a commit that referenced this pull request Oct 11, 2021
…ys_Audit() (GH-28862)

(cherry picked from commit 9883ca4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka
serhiy-storchaka deleted the importdl-audit-leak branch July 1, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants