cpython/Modules
Guido van Rossum 2f80d96c04 Patch by Stephen Turner, who writes:
"""
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.
1999-07-13 15:18:58 +00:00
..
Makefile.pre.in 'clean' target should remove hassignal. 1999-04-12 16:42:13 +00:00
Setup.in Added Greg Stein and Andrew Kuchling's sha module. 1999-03-24 19:03:59 +00:00
Setup.thread.in
_cursesmodule.c Patch by Charles Waldman to implement an optional nlines argument to 1999-01-05 17:16:46 +00:00
_localemodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
_tkinter.c Include myselect.h -- needed on some platforms. 1999-01-25 21:39:03 +00:00
almodule.c
arraymodule.c Use an unsigned cast to avoid a warning in VC++. 1999-03-19 21:50:11 +00:00
audioop.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
binascii.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
bsddbmodule.c Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
cPickle.c Patch by Stephen Turner, who writes: 1999-07-13 15:18:58 +00:00
cStringIO.c New version from Jim: don't call Py_FatalError() when initialization fails. 1999-06-15 14:35:48 +00:00
cdmodule.c
cgen.py
cgensupport.c
cgensupport.h
clmodule.c
cmathmodule.c Docstring fix: acosh() returns the hyperbolic arccosine, not the 1999-03-16 14:17:48 +00:00
config.c.in
cryptmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
cstubs
dbmmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
dlmodule.c
errnomodule.c initerrno(): Nailed a not-so-tiny memory leak. The de dictionary is 1999-01-27 18:04:05 +00:00
fcntlmodule.c Changes for long file support by Steve Clift. 1999-01-06 18:44:23 +00:00
flmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
fmmodule.c
fpectlmodule.c Avoid triggering Alpha OSF/1 specific code on Alpha NT or Linux. 1999-04-19 16:50:26 +00:00
fpetestmodule.c Needed to add DL_EXPORT to (redundant?) extern decl of module init function. 1998-12-10 16:49:28 +00:00
gdbmmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
getbuildinfo.c Patches by William Lewis for Nextstep descendants. 1999-01-27 17:53:11 +00:00
getpath.c Patches by William Lewis for Nextstep descendants. 1999-01-27 17:53:11 +00:00
glmodule.c
grpmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
imageop.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
imgfile.c
ld_so_aix
license.terms
main.c Patch from Tim Peters to repare a the problem that tracebacks are off 1999-04-19 17:54:19 +00:00
makesetup On HP-UX, -rpath is another option taking an argument that needs to go 1999-05-21 19:18:49 +00:00
makexp_aix
mathmodule.c Correctly document atan2. 1998-12-08 16:27:10 +00:00
md5.h
md5c.c
md5module.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
mpzmodule.c Fixed bug reported to Gregor Hoffleit: 1998-12-14 19:36:14 +00:00
newmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
nismodule.c
operator.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
parsermodule.c When the parameter to PyInt_AsLong() has already been checked with 1999-02-17 17:35:53 +00:00
pcre-int.h
pcre.h
pcremodule.c PyPcre_expand(): Fixed two memory leaks, where a PyString_FromString() 1999-02-01 17:09:00 +00:00
posixmodule.c Milton L. Hankin reports that on Windows it is possible to have two 1999-07-02 02:54:02 +00:00
puremodule.c
pwdmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
pypcre.c pcre_exec(): Andrew Kuchling's patch for pcre memory leak. 1999-01-27 21:41:08 +00:00
python.c Py_Main() must be DL_EXPORT too. 1998-12-07 14:28:47 +00:00
readline.c setup_readline(): Added a comment about memory leak (reported by 1999-01-29 21:55:03 +00:00
regexmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
regexpr.c casts for picky compilers. 1999-04-10 15:48:23 +00:00
regexpr.h
resource.c Changes for long file support by Steve Clift. 1999-01-06 18:44:57 +00:00
rgbimgmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
rotormodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
selectmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
sgimodule.c
shamodule.c casts for picky compilers. 1999-04-10 15:48:23 +00:00
signalmodule.c Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
socketmodule.c Put back __osf__ support for gethostbyname_r(); the real bug was that 1999-04-13 04:07:32 +00:00
soundex.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
stdwinmodule.c Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
stropmodule.c In atoi(), don't use isxdigit() to test whether the last character 1999-02-22 16:18:44 +00:00
structmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
sunaudiodev.c
svmodule.c
syslogmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
tclNotify.c
termios.c Should include "Python.h", not <Python.h> -- it's not a standard 1999-01-14 19:31:42 +00:00
threadmodule.c Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
timemodule.c Apparently __GNU_LIBRARY__ is defined for glibc as well as for libc5. 1999-04-23 20:59:05 +00:00
timing.h
timingmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
tkappinit.c
xxmodule.c Use the portable form of initializing the ob_type field for new types. 1999-02-16 22:15:42 +00:00
yuv.h
yuvconvert.c
zlibmodule.c Cast added by Jack Jansen (for Mac port). 1999-04-12 14:35:48 +00:00