cpython/Objects
Neal Norwitz 7dbd2a3720 Prevent expandtabs() on string and unicode objects from causing a segfault when
a large width is passed on 32-bit platforms.  Found by Google.

It would be good for people to review this especially carefully and verify
I don't have an off by one error and there is no other way to cause overflow.
2007-06-09 03:36:34 +00:00
..
stringlib Fix endcase for str.rpartition() 2006-09-04 15:32:48 +00:00
abstract.c Silence compiler warning 2007-02-07 23:49:03 +00:00
boolobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
bufferobject.c Bug #1733488: Fix compilation of bufferobject.c on AIX. 2007-06-08 17:29:20 +00:00
cellobject.c Another problem reported by Coverity. Backport candidate. 2006-06-30 07:32:46 +00:00
classobject.c As per Armin Rigo's suggestion, remove special handing from intobject.c to deal with the peculiarities of classobject's implementation of the number protocol. The nb_long method of classobject now falls back to nb_int if there is no __long__ attribute present. 2007-05-07 16:46:54 +00:00
cobject.c Remove unnecessary casts in type object initializers. 2006-03-30 11:57:00 +00:00
codeobject.c Fix uninitialized memory read reported by Valgrind when running doctest. 2006-07-12 05:27:46 +00:00
complexobject.c Patch #1675423: PyComplex_AsCComplex() now tries to convert an object 2007-03-17 16:08:45 +00:00
descrobject.c Change fix for segfaulting property(), add a NEWS entry and a test. 2006-08-04 18:03:37 +00:00
dictnotes.txt Patch #1397848: add the reasoning behind no-resize-on-shrinkage. 2007-02-15 09:51:35 +00:00
dictobject.c Whitespace cleanup 2007-05-23 06:57:35 +00:00
enumobject.c Do not let overflows in enumerate() and count() pass silently. 2007-02-08 00:07:32 +00:00
exceptions.c Complete deprecation of BaseException.message. Some subclasses were directly 2007-05-17 02:02:56 +00:00
fileobject.c Export function sanitize_the_mode from fileobject.c as _PyFile_SanitizeMode(). Use this function in posixmodule.c when implementing fdopen(). This fixes test_subprocess.py for a VisualStudio 2005 compile. 2007-04-26 09:15:08 +00:00
floatobject.c Remove dead code. This code couldn't be reached because earlier in 2007-05-03 07:20:57 +00:00
frameobject.c Silence a compiler warning about incompatible pointer types. 2007-04-19 03:44:17 +00:00
funcobject.c Add the new function object attribute names from py3k. 2007-05-27 04:08:54 +00:00
genobject.c Make use of METH_O and METH_NOARGS where possible. 2006-05-29 21:04:52 +00:00
intobject.c Port rev 55353 from Guido: 2007-05-16 04:33:50 +00:00
iterobject.c Use Py_VISIT in all tp_traverse methods, instead of traversing manually or 2006-04-15 21:47:09 +00:00
listobject.c Variation of patch # 1624059 to speed up checking if an object is a subclass 2007-02-25 19:44:48 +00:00
listsort.txt typo fix 2006-08-01 16:24:30 +00:00
longobject.c Fix problems in x64 build that were discovered by the testsuite: 2007-05-03 20:27:03 +00:00
methodobject.c Use Py_VISIT in all tp_traverse methods, instead of traversing manually or 2006-04-15 21:47:09 +00:00
moduleobject.c Use Py_VISIT in all tp_traverse methods, instead of traversing manually or 2006-04-15 21:47:09 +00:00
object.c Add -3 option to the interpreter to warn about features that are 2007-05-23 06:35:32 +00:00
obmalloc.c Don't inline Py_ADDRESS_IN_RANGE with gcc 4+ either. 2006-10-28 21:21:00 +00:00
rangeobject.c Remove "static forward" declaration. Move constructors 2006-04-11 09:04:12 +00:00
setobject.c Fix a bug in test_c_api() that caused a negative refcount. 2007-05-10 17:20:15 +00:00
sliceobject.c SF 1191699: Make slices picklable 2007-04-11 18:40:58 +00:00
stringobject.c Prevent expandtabs() on string and unicode objects from causing a segfault when 2007-06-09 03:36:34 +00:00
structseq.c Klocwork made another run and found a bunch more problems. 2006-08-12 01:43:40 +00:00
tupleobject.c Variation of patch # 1624059 to speed up checking if an object is a subclass 2007-02-25 19:44:48 +00:00
typeobject.c Stop using METH_OLDARGS implicitly 2007-05-22 07:16:44 +00:00
unicodectype.c Patch 1494554: Update numeric properties to Unicode 4.1. 2006-05-27 08:36:52 +00:00
unicodeobject.c Prevent expandtabs() on string and unicode objects from causing a segfault when 2007-06-09 03:36:34 +00:00
unicodetype_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
weakrefobject.c Fix crasher for when an object's __del__ creates a new weakref to itself. 2007-01-23 23:21:22 +00:00