[issue3664] Pickler.dump from a badly initialized Pickler segfaults
Alexandre Vassalotti
report at bugs.python.org
Sun Oct 5 00:54:16 CEST 2008
Alexandre Vassalotti <alexandre at peadrop.com> added the comment:
Here's the fix. The added check in Pickler_dump should prevent any
segfaults due to __init__() errors.
I also added the check proposed by Christian as a safe-guard in case a
core developer adds a new method that doesn't check if the object was
properly initialized.
Added file: http://bugs.python.org/file11704/_pickle.c
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3664>
_______________________________________
More information about the Python-bugs-list
mailing list