[issue26811] segfault due to null pointer in tuple

Serhiy Storchaka report at bugs.python.org
Sat Apr 23 05:35:28 EDT 2016


Serhiy Storchaka added the comment:

May be using _PyObject_GC_UNTRACK() is more correct than setting the size to 0 or setting the item to None. But property_descr_get_gc_untrack.patch makes the code a little slower. Here is optimized version of Victor's patch.

----------
Added file: http://bugs.python.org/file42577/property_descr_get_gc_untrack_2.patch

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


More information about the Python-bugs-list mailing list