Skip to content

gh-104698: Fix reference leak in mmapmodule.c #104700

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 21, 2023
Merged

Conversation

Eclips4
Copy link
Member

@Eclips4 Eclips4 commented May 20, 2023

Since macro CHECK_VALID need to redesigned to solve this error, I decided to write new macro CHECK_VALID_AND_RELEASE, which behave the same as CHECK_VALID, but also release a buffer.

@Eclips4
Copy link
Member Author

Eclips4 commented May 20, 2023

сс @sunmy2019 @chgnrdv

@sunmy2019 sunmy2019 requested a review from JelleZijlstra May 20, 2023 17:57
@JelleZijlstra JelleZijlstra added the 🔨 test-with-refleak-buildbots Test PR w/ refleak buildbots; report in status section label May 20, 2023
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @JelleZijlstra for commit a4341c7 🤖

If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-refleak-buildbots Test PR w/ refleak buildbots; report in status section label May 20, 2023
Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

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

Looks good, thanks! Two small suggestions.

@pablogsal
Copy link
Member

Mergin to fix the refleak buildbots and reduce the noise in main. Thanks for the PR @Eclips4 !

@pablogsal pablogsal added the needs backport to 3.11 only security fixes label May 21, 2023
@miss-islington
Copy link
Contributor

Thanks @Eclips4 for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-104710 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label May 21, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 21, 2023
(cherry picked from commit 99b6418)

Co-authored-by: Kirill Podoprigora <[email protected]>
Co-authored-by: Jelle Zijlstra <[email protected]>
JelleZijlstra added a commit that referenced this pull request May 21, 2023
…4710)

(cherry picked from commit 99b6418)

Co-authored-by: Kirill Podoprigora <[email protected]>
Co-authored-by: Jelle Zijlstra <[email protected]>
@Eclips4 Eclips4 deleted the issue-104698 branch May 21, 2023 06:16
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.

6 participants