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
Use after free in PyObject_GetState #68285
Comments
# Program received signal SIGSEGV, Segmentation fault. |
ping |
Thanks for the report. Here is a patch. |
lgtm |
The fix LGTM. It would be nice to add a test. |
Here is a test for this issue. |
In 2.7 the test doesn't crash, but __reduce__ produces invalid recursive structure. |
Here is backported to 2.7 patch with test. Can you review the test and commit the patch Antoine? |
New changeset eed36e19f8b8 by Serhiy Storchaka in branch '3.4': New changeset 99839a1c9c6d by Serhiy Storchaka in branch '3.5': New changeset 502465d22522 by Serhiy Storchaka in branch 'default': New changeset 4a201d0d4d1e by Serhiy Storchaka in branch '2.7': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: