[issue8420] Objects/setobject.c contains unsafe code

Raymond Hettinger report at bugs.python.org
Sun Apr 18 10:46:18 CEST 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

Attaching a patch for set_lookkey() that does a DECREF only when the refcnt > 1 so that the DECREF won't trigger any state changes.

The merge crasher still needs a patch.

----------
keywords: +patch
priority:  -> normal
stage:  -> needs patch
versions: +Python 2.6, Python 2.7, Python 3.2
Added file: http://bugs.python.org/file16969/lookkey.diff

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


More information about the Python-bugs-list mailing list