cpython/Objects
Serhiy Storchaka 74f49ab28b Issue #15989: Fix several occurrences of integer overflow
when result of PyInt_AsLong() or PyLong_AsLong() narrowed
to int without checks.

This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:55:39 +02:00
..
stringlib Issue #14700: Fix buggy overflow checks for large precision and width in new-style and old-style formatting. 2012-10-28 10:00:46 +00:00
abstract.c allow any number to be returned from __length_hint__ (closes #15354) 2012-07-14 17:53:55 -07:00
boolobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
bufferobject.c - Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED 2012-02-20 20:42:21 -05:00
bytearrayobject.c Fix compilation on Windows 2012-11-03 23:07:59 +01:00
bytes_methods.c Merged revisions 82573 via svnmerge from 2010-07-05 12:04:07 +00:00
capsule.c Backported PyCapsule from 3.1, and converted most uses of 2010-03-25 00:54:54 +00:00
cellobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
classobject.c check for string attribute names in old-style classes (closes #14334) 2012-03-16 10:58:46 -05:00
cobject.c CObject use is marked as a Py3k warning, not a deprecation warning 2010-11-04 21:39:52 +00:00
codeobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
complexobject.c Issue #8748: Fix incorrect results from comparisons between an integer 2010-05-30 13:18:10 +00:00
descrobject.c use formats that work on 2.7 2012-05-01 10:16:33 -04:00
dictnotes.txt Patch #1397848: add the reasoning behind no-resize-on-shrinkage. 2007-02-15 09:51:35 +00:00
dictobject.c avoid a function call with redundant checks for dict size 2012-10-31 14:22:12 -04:00
enumobject.c Merged revisions 81468 via svnmerge from 2010-05-22 11:44:30 +00:00
exceptions.c this is only a borrowed ref in Brett's branch 2012-02-10 08:46:54 -05:00
fileobject.c Issue #15989: Fix several occurrences of integer overflow 2013-01-19 12:55:39 +02:00
floatobject.c Issue #9742: Sneaky fix for build failure on Solaris 9. 2012-11-17 20:18:52 +00:00
frameobject.c SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno (closes #14612) 2012-04-18 11:14:31 -04:00
funcobject.c use Py_CLEAR 2012-02-19 01:11:56 -05:00
genobject.c close() doesn't take any args (closes #14717) 2012-05-03 18:44:09 -04:00
intobject.c Issue #15989: Fix several occurrences of integer overflow 2013-01-19 12:55:39 +02:00
iterobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
listobject.c Revert "Accept None as start and stop parameters for list.index() and tuple.index()" 2011-11-06 20:59:01 +02:00
listsort.txt Merged revisions 69846 via svnmerge from 2009-07-02 15:37:21 +00:00
lnotab_notes.txt Issue #6042: 2009-05-23 23:23:01 +00:00
longobject.c Issue #15989: Fix several occurrences of integer overflow 2013-01-19 12:55:39 +02:00
memoryobject.c Merged revisions 88097 via svnmerge from 2011-01-18 19:06:19 +00:00
methodobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
moduleobject.c Merged revisions 85392 via svnmerge from 2010-10-12 23:02:35 +00:00
object.c ensure the attribute name string is initalized before using it (closes #16839) 2013-01-02 09:36:23 -06:00
obmalloc.c Merged revisions 87834 via svnmerge from 2011-01-07 21:49:44 +00:00
rangeobject.c Issue #14783: Backport changes from 3.2. 2012-10-07 20:37:54 -07:00
setobject.c remove unused variable 2011-10-30 14:24:44 -04:00
sliceobject.c Issue #14783: Backport changes from 3.2. 2012-10-07 20:37:54 -07:00
stringobject.c untabify 2013-01-02 12:25:15 -06:00
structseq.c Fix indentation. 2012-02-15 02:57:19 +01:00
tupleobject.c PyTuple_Pack() was missing va_end() in its error branch which lead to a resource leak. 2012-09-10 02:54:51 +02:00
typeobject.c Improve tooltips by listing the most common argument pattern first. 2013-01-18 23:23:11 -08:00
unicodectype.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
unicodeobject.c Issue #15989: Fix several occurrences of integer overflow 2013-01-19 12:55:39 +02:00
unicodetype_db.h #7643: Unicode codepoints VT (0x0B) and FF (0x0C) are linebreaks according to Unicode Standard Annex #14. 2010-03-30 08:24:06 +00:00
weakrefobject.c Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero. 2012-12-08 21:15:26 +01:00