-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
gh-120198: Fix crash when two thread edit __class__ #120195
Conversation
Fidget-Spinner
commented
Jun 7, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Read and write of __class__ in two threads causes crash #120198
I marked your PR as a draft in this case. |
This reverts commit b1dc75b.
Co-Authored-By: Nadeshiko Manju <[email protected]>
Co-Authored-By: Steve Dower <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
BTW should we backport this to 3.11?
If we go to 3.11 then we go to 3.8 (unless the audit event was added later). Technically we should, because crashers are technically eligible for security fix releases, but this one really requires deliberate exploitation and it's very unlikely to be achievable without arbitrary code. And the test is likely to destabilise earlier releases more than the fix is worth. If someone wants to prepare a PR against 3.11 without the test, we can let the RMs decide. |
Thanks @Fidget-Spinner for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…dit hook active (pythonGH-120195) (cherry picked from commit 203565b) Co-authored-by: Ken Jin <[email protected]>
Sorry, @Fidget-Spinner and @zooba, I could not cleanly backport this to
|
GH-120366 is a backport of this pull request to the 3.13 branch. |
@Fidget-Spinner Could you handle the backport, please? |
…ok active (GH-120195) (cherry picked from commit 203565b) Co-authored-by: Ken Jin <[email protected]>
@zooba sure! |
@Zheaoli so sorry I had planned to add you as co-author when merging but was asleep when this merged. |
GH-120393 is a backport of this pull request to the 3.12 branch. |
…ok active (GH-120195) Co-authored-by: Nadeshiko Manju <[email protected]>
@Fidget-Spinner No problem sir! Thanks very much. I'm so happy to see we solve this issue |