Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-101975: Fixed a potential SegFault on garbage collection#102803

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
markshannon merged 2 commits intopython:mainfromgaogaotiantian:fix-issue-101975
Mar 18, 2023

Conversation

@gaogaotiantian
Copy link
Member

@gaogaotiantiangaogaotiantian commentedMar 18, 2023
edited by bedevere-bot
Loading

frame->stacktop = 1 is missing on trace entry which could cause thegc on another thread to access freed memory.

RmZeta2718, jingxu94, xfoobar, and 3willows reacted with thumbs up emoji
@markshannonmarkshannon self-requested a reviewMarch 18, 2023 10:55
Copy link
Member

@markshannonmarkshannon 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.

I quickly checked the other uses of _PyFrame_GetStackPointer(frame) and this is the odd one out.

@markshannonmarkshannon added the needs backport to 3.11only security fixes labelMar 18, 2023
@markshannonmarkshannon merged commit039714d intopython:mainMar 18, 2023
@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

Sorry,@gaogaotiantian and@markshannon, I could not cleanly backport this to3.11 due to a conflict.
Please backport usingcherry_picker on command line.
cherry_picker 039714d00f147be4d018fa6aeaf174aad7e8fa32 3.11

@bedevere-bot
Copy link

GH-102807 is a backport of this pull request to the3.11 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.11only security fixes labelMar 18, 2023
@gaogaotiantiangaogaotiantian deleted the fix-issue-101975 branchMarch 18, 2023 14:41
markshannon added a commit that referenced this pull requestMar 20, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@markshannonmarkshannonmarkshannon approved these changes

Assignees

@markshannonmarkshannon

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@gaogaotiantian@miss-islington@bedevere-bot@markshannon

[8]ページ先頭

©2009-2025 Movatter.jp