cpython/Modules
Gregory P. Smith 0470bab697 Issue #2620: Overflow checking when allocating or reallocating memory
was not always being done properly in some python types and extension
modules.  PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
2008-07-22 04:46:32 +00:00
..
_ctypes Issue #3313: Contrary to the man page, a failed dlopen() call does not 2008-07-15 19:39:38 +00:00
_multiprocessing convert multiprocessing to unix line endings 2008-06-13 19:13:39 +00:00
_sqlite #3312: fix two sqlite3 crashes. 2008-07-16 22:33:18 +00:00
cjkcodecs #3305: self->stream can be NULL. 2008-07-16 22:04:20 +00:00
expat Handle failures from lookup. 2006-08-13 18:12:26 +00:00
zlib Remove unneeded directories. 2006-01-03 06:48:38 +00:00
Setup.config.in Patch to make _codecs a builtin module. This is necessary since 2002-12-12 17:37:50 +00:00
Setup.dist Add commented out #_sha256 and #_sha512 lines per issue 3183. 2008-07-07 04:54:31 +00:00
_bisectmodule.c Issue 3301: Bisect functions behaved badly when lo was negative. 2008-07-10 14:03:19 +00:00
_bsddb.c Define macros so that this still compiles on Python prior to r63675. 2008-05-26 19:03:35 +00:00
_bytesio.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
_codecsmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
_collectionsmodule.c Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful 2008-07-15 14:27:37 +00:00
_csv.c Merge in release25-maint r60793: 2008-06-11 07:41:16 +00:00
_curses_panel.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
_cursesmodule.c Only include update_lines_cols() function when it's actually going to be used 2008-06-19 14:02:30 +00:00
_elementtree.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
_fileio.c fix issue3304 - remove an incorrect PyMem_Free in fileio_init 2008-07-06 17:06:29 +00:00
_functoolsmodule.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
_hashopenssl.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
_heapqmodule.c Optimize previous checkin for heapq. 2008-06-11 12:39:09 +00:00
_hotshot.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
_json.c #3322: bounds checking for _json.scanstring 2008-07-19 21:59:50 +00:00
_localemodule.c #3303: fix crash with invalid Py_DECREF in strcoll(). 2008-07-19 12:46:12 +00:00
_lsprof.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
_randommodule.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
_sre.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
_ssl.c various SSL fixes; issues 1251, 3162, 3212 2008-06-28 22:19:33 +00:00
_struct.c Merge in release25-maint r60793: 2008-06-11 07:41:16 +00:00
_testcapimodule.c Added garbage collector overhead and optional default return value to 2008-07-10 17:13:55 +00:00
_tkinter.c Make more symbols static. 2008-06-13 07:47:47 +00:00
_weakref.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
addrinfo.h Add comments at end of every #endif and fix ones already there when for closing 2004-07-10 19:30:39 +00:00
almodule.c Issue #2620: Overflow checking when allocating or reallocating memory 2008-07-22 04:46:32 +00:00
ar_beos Moved BeOS/ar-fake and BeOS/linkmodule to Modules/ar_beos and 2001-02-16 03:24:50 +00:00
arraymodule.c Issue #2620: Overflow checking when allocating or reallocating memory 2008-07-22 04:46:32 +00:00
audioop.c Issue 3306. Better control for a lenght in findmax() function. 2008-07-07 17:02:59 +00:00
binascii.c Merge in release25-maint r60793: 2008-06-11 07:41:16 +00:00
bsddb.h bsddb module updated to version 4.7.0 2008-05-22 15:27:38 +00:00
bsddbmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
bz2module.c - Issue #3309: Fix bz2.BZFile itererator to release its internal lock 2008-07-07 04:31:58 +00:00
cPickle.c Fix #2702, with a correct accounting of recursion. 2008-06-30 01:10:55 +00:00
cStringIO.c Merge in release25-maint r60793: 2008-06-11 07:41:16 +00:00
cdmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
cgen.py Deprecate DEVICE, GL, gl, and the related modules cgen and cgensupport for removal in 3.0. 2008-05-15 02:33:55 +00:00
cgensupport.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
cgensupport.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
clmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
cmathmodule.c Minor rewrite of cmath_log to work around a Sun compiler bug. See issue 2008-07-05 15:25:48 +00:00
config.c.in Re-implement the 'warnings' module in C. This allows for usage of the 2008-04-12 23:44:07 +00:00
cryptmodule.c Patch #1516912: improve Modules support for OpenVMS. 2006-07-10 01:18:57 +00:00
cstubs REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
datetimemodule.c Merge in release25-maint r60793: 2008-06-11 07:41:16 +00:00
dbmmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
dlmodule.c Issue #3313: Contrary to the man page, a failed dlopen() call does not 2008-07-15 19:39:38 +00:00
errnomodule.c Restore support for Microsoft VC6 compiler. 2008-06-13 00:42:22 +00:00
fcntlmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
flmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
fmmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
fpectlmodule.c Patch #1516912: improve Modules support for OpenVMS. 2006-07-10 01:18:57 +00:00
fpetestmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
future_builtins.c Add future_builtins.ascii(). 2008-06-11 18:55:38 +00:00
gc_weakref.txt SF 1055820: weakref callback vs gc vs threads 2004-10-30 23:09:22 +00:00
gcmodule.c - Issue #2862: Make int and float freelist management consistent with other 2008-07-06 03:35:58 +00:00
gdbmmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
getaddrinfo.c SF #784031: Byte-order bug in socket-module getaddrinfo.c 2003-08-17 21:28:39 +00:00
getbuildinfo.c Fixing changes to getbuildinfo.c that broke linux builds 2007-06-07 23:53:49 +00:00
getnameinfo.c Remove INET6 define. Use ENABLE_IPV6 instead. 2001-12-02 10:15:37 +00:00
getpath.c Typos. 2007-03-10 07:38:14 +00:00
glmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
grpmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
imageop.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
imgfile.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
itertoolsmodule.c #2536: fix itertools.permutations and itertools.combinations docstrings. 2008-06-10 12:46:39 +00:00
ld_so_aix SF Bug # 941346, AIX shared library fix 2005-10-03 03:57:09 +00:00
ld_so_beos Remove a hard coded Python version, and a now incorrect relative path. Closes 2001-02-16 03:27:35 +00:00
linuxaudiodev.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
main.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
makesetup Patch #786737: Allow building in a tree of symlinks pointing to 2007-09-05 11:47:34 +00:00
makexp_aix - Changes donated by Elemental Security to make it work on AIX 5.3 2005-09-14 18:09:42 +00:00
mathmodule.c Fix another typo in math_sum comment 2008-06-20 15:26:19 +00:00
md5.c Merge in release25-maint r60793: 2008-06-11 07:41:16 +00:00
md5.h - Patch #360466: Replace the MD5 implementation from RSA Data Security Inc 2006-04-03 16:27:50 +00:00
md5module.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
mmapmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
nismodule.c Try a blind fix to nismodule which fails on the solaris10 3.0 buildbot: 2008-07-02 23:40:28 +00:00
operator.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
ossaudiodev.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
parsermodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
posixmodule.c On Windows, silence a Purify warning and initialize the memory passed to CryptGenRandom. 2008-07-21 21:06:46 +00:00
puremodule.c Deprecate the pure module for 3.0. 2008-05-09 22:51:58 +00:00
pwdmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
pyexpat.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
python.c Apparently FreeBSD enables some HW floating-point exceptions by default. 2002-12-28 21:56:08 +00:00
readline.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
resource.c Patch #1557515: Add RLIMIT_SBSIZE. 2006-09-16 17:36:37 +00:00
rotatingtree.c randombits(): Stop compiler warning about mixing 2006-02-15 03:01:30 +00:00
rotatingtree.h Fix comment typo 2006-04-22 01:58:40 +00:00
selectmodule.c Issue #2620: Overflow checking when allocating or reallocating memory 2008-07-22 04:46:32 +00:00
sgimodule.c Convert more METH_OLDARGS & PyArg_Parse() 2002-04-02 18:26:33 +00:00
sha256module.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
sha512module.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
shamodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
signalmodule.c #1683 prevent forking from interfering in threading storage 2008-06-13 00:09:47 +00:00
socketmodule.c Restore support for Microsoft VC6 compiler. 2008-06-13 00:42:22 +00:00
socketmodule.h on windows, r64214 broke compilation with some recent SDKs, 2008-06-14 08:36:07 +00:00
spwdmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
sre.h Impl ssize_t 2006-06-12 03:05:40 +00:00
sre_constants.h Implemented non-recursive SRE matching. 2003-10-17 22:13:16 +00:00
stropmodule.c Merge in release25-maint r60793: 2008-06-11 07:41:16 +00:00
sunaudiodev.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
svmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
symtablemodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
syslogmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
termios.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
testcapi_long.h Fix error in comment, and in test_long_api and test_longlong_api remove 2001-06-16 08:10:13 +00:00
threadmodule.c #Issue3088 in-progress: Race condition with instances of classes derived from threading.local: 2008-06-30 22:42:40 +00:00
timemodule.c Issue 3289. Removed two lines that ended doing nothing. 2008-07-05 19:19:50 +00:00
timing.h Remove the advertising clause from the BSD license in timing.h. 2008-04-01 23:57:36 +00:00
timingmodule.c Deprecate the timing module for removal in Python 3.0. 2008-05-12 03:47:47 +00:00
tkappinit.c Remove warning about implicit declaration of strcmp() 2004-06-13 20:29:55 +00:00
unicodedata.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
unicodedata_db.h Make more symbols static. 2008-06-13 07:47:47 +00:00
unicodename_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
xxmodule.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
xxsubtype.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
yuv.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
yuvconvert.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
zipimport.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
zlibmodule.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00