[issue3299] invalid object destruction in re.finditer()

STINNER Victor report at bugs.python.org
Mon Jul 14 04:31:13 CEST 2008


STINNER Victor <haypo at users.sourceforge.net> added the comment:

Other examples of invalid use of PyObject_Del().

Don't apply the patch, i didn't check it. Eg. element_dealloc() should 
crash if self->tag is NULL... and at line 331, self->tag is NULL 
whereas I called element_dealloc() using Py_DECREF()!

Added file: http://bugs.python.org/file10893/pyobject_del.patch

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


More information about the Python-bugs-list mailing list