mirror of
https://github.com/python/cpython.git
synced 2024-11-29 00:56:12 +01:00
2f80d96c04
""" 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. |
||
---|---|---|
.. | ||
_cursesmodule.c | ||
_localemodule.c | ||
_tkinter.c | ||
almodule.c | ||
arraymodule.c | ||
audioop.c | ||
binascii.c | ||
bsddbmodule.c | ||
cdmodule.c | ||
cgen.py | ||
cgensupport.c | ||
cgensupport.h | ||
clmodule.c | ||
cmathmodule.c | ||
config.c.in | ||
cPickle.c | ||
cryptmodule.c | ||
cStringIO.c | ||
cstubs | ||
dbmmodule.c | ||
dlmodule.c | ||
errnomodule.c | ||
fcntlmodule.c | ||
flmodule.c | ||
fmmodule.c | ||
fpectlmodule.c | ||
fpetestmodule.c | ||
gdbmmodule.c | ||
getbuildinfo.c | ||
getpath.c | ||
glmodule.c | ||
grpmodule.c | ||
imageop.c | ||
imgfile.c | ||
ld_so_aix | ||
license.terms | ||
main.c | ||
Makefile.pre.in | ||
makesetup | ||
makexp_aix | ||
mathmodule.c | ||
md5.h | ||
md5c.c | ||
md5module.c | ||
mpzmodule.c | ||
newmodule.c | ||
nismodule.c | ||
operator.c | ||
parsermodule.c | ||
pcre-int.h | ||
pcre.h | ||
pcremodule.c | ||
posixmodule.c | ||
puremodule.c | ||
pwdmodule.c | ||
pypcre.c | ||
python.c | ||
readline.c | ||
regexmodule.c | ||
regexpr.c | ||
regexpr.h | ||
resource.c | ||
rgbimgmodule.c | ||
rotormodule.c | ||
selectmodule.c | ||
Setup.in | ||
Setup.thread.in | ||
sgimodule.c | ||
shamodule.c | ||
signalmodule.c | ||
socketmodule.c | ||
soundex.c | ||
stdwinmodule.c | ||
stropmodule.c | ||
structmodule.c | ||
sunaudiodev.c | ||
svmodule.c | ||
syslogmodule.c | ||
tclNotify.c | ||
termios.c | ||
threadmodule.c | ||
timemodule.c | ||
timing.h | ||
timingmodule.c | ||
tkappinit.c | ||
xxmodule.c | ||
yuv.h | ||
yuvconvert.c | ||
zlibmodule.c |