Skip to content
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

[3.6] bpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is allocated. #402

Merged
merged 2 commits into from Mar 2, 2017

Conversation

brianfcoleman
Copy link
Contributor

On PyMem_Realloc failure, _PyCode_SetExtra should free co_extra if
co_extra->ce_extras could not be allocated.
On PyMem_Realloc success, _PyCode_SetExtra should set all unused slots in
co_extra->ce_extras to NULL.

allocated.

On PyMem_Realloc failure, _PyCode_SetExtra should free co_extra if
co_extra->ce_extras could not be allocated.
On PyMem_Realloc success, _PyCode_SetExtra should set all unused slots in
co_extra->ce_extras to NULL.
@berkerpeksag berkerpeksag changed the title bpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is allocated. [3.6] bpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is allocated. Mar 2, 2017
@serhiy-storchaka serhiy-storchaka merged commit a6e8493 into python:3.6 Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants