[python/cpython] 6a9122: bpo-29683 - Fixes to _PyCode_SetExtra when co_extr...
2 Mar
2017
2 Mar
'17
5:32 a.m.
Branch: refs/heads/master Home: https://github.com/python/cpython Commit: 6a9122ce6969902e119133dac660bf515616c7dd https://github.com/python/cpython/commit/6a9122ce6969902e119133dac660bf51561... Author: Brian Coleman <brianfcoleman@gmail.com> Date: 2017-03-02 (Thu, 02 Mar 2017) Changed paths: M Misc/NEWS M Objects/codeobject.c Log Message: ----------- bpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is (#376) 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.
2770
Age (days ago)
2770
Last active (days ago)
0 comments
1 participants
participants (1)
-
GitHub