-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-38610: Fix possible crashes in several list methods #17022
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
bpo-38610: Fix possible crashes in several list methods #17022
Conversation
Hold strong references to list elements while calling PyObject_RichCompareBool().
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
Thanks @ZackerySpytz for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
Thanks @ZackerySpytz for the quick fix! |
GH-17758 is a backport of this pull request to the 3.8 branch. |
Sorry, @ZackerySpytz and @pablogsal, I could not cleanly backport this to |
…GH-17022) Hold strong references to list elements while calling PyObject_RichCompareBool().. (cherry picked from commit d9e561d) Co-authored-by: Zackery Spytz <[email protected]>
GH-17759 is a backport of this pull request to the 3.7 branch. |
Hold strong references to list elements while calling PyObject_RichCompareBool(). (cherry picked from commit d9e561d) Co-authored-by: Zackery Spytz <[email protected]>
…) (GH-17759) Hold strong references to list elements while calling PyObject_RichCompareBool().. (cherry picked from commit d9e561d) Co-authored-by: Zackery Spytz <[email protected]> Co-authored-by: Zackery Spytz <[email protected]>
Hold strong references to list elements while calling PyObject_RichCompareBool().
Hold strong references to list elements while calling PyObject_RichCompareBool().
Hold strong references to list elements while calling
PyObject_RichCompareBool().
https://bugs.python.org/issue38610