[issue29347] Python could crash while creating weakref for a given object

Saida Dhanavath report at bugs.python.org
Sat Feb 4 04:18:41 EST 2017


Saida Dhanavath added the comment:

Hi xiang,


I have already patched our build environment with the fix and tested it locally. Although I cannot test it in production, have taken out the code of new_weakref, init_weakref and clear_weakref from weakrefobject.c. Changed init_weakref to initialize wr_prev and wr_next with NULL and verified that test program does crash after fix.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29347>
_______________________________________


More information about the Python-bugs-list mailing list