• Guido van Rossum's avatar
    Patch by Stephen Turner, who writes: · 2f80d96c
    Guido van Rossum yazdı
    """
    It fixes a memory corruption error resulting from BadPickleGet
    exceptions in load_get, load_binget and load_long_binget.  This was
    initially reported on c.l.py as a problem with Cookie.py; see the thread
    titled "python core dump (SIGBUS) on Solaris" for more details.
    
    If PyDict_GetItem(self->memo, py_key) call failed, then py_key was being
    Py_DECREF'd out of existence before call was made to
    PyErr_SetObject(BadPickleGet, py_key).
    
    The bug can be duplicated as follows:
    
    import cPickle
    cPickle.loads('garyp')
    
    This raises a BadPickleGet exception whose value is a freed object.  A
    core dump will soon follow.
    """
    
    Jim Fulton approves of the patch.
    2f80d96c
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...