cpython/Objects
Martin Panter eeb896c411 Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary
This avoids possible buffer overreads when int(), float(), compile(), exec()
and eval() are passed bytes-like objects. Similar code is removed from the
complex() constructor, where it was not reachable.

Patch by John Leitch, Serhiy Storchaka and Martin Panter.
2015-11-07 02:32:21 +00:00
..
stringlib Fixed typos in comments. 2015-05-18 22:19:42 +03:00
abstract.c Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary 2015-11-07 02:32:21 +00:00
accu.c
boolobject.c
bytearrayobject.c Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray 2015-06-29 21:14:06 +03:00
bytes_methods.c Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() 2015-02-03 01:21:08 +02:00
bytesobject.c Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), 2015-05-30 17:45:22 +03:00
capsule.c
cellobject.c
classobject.c Silence expression result unused warnings with clang. 2013-12-04 09:27:47 +01:00
codeobject.c Issue #18874: PyCode_New() now ensures that the filename is a ready Unicode 2013-10-10 15:55:14 +02:00
complexobject.c Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary 2015-11-07 02:32:21 +00:00
descrobject.c Fixed indentation of Python examples in C comments. 2015-06-11 00:06:39 +03:00
dictnotes.txt
dictobject.c merge 3.3 (#24407) 2015-07-04 19:58:11 -05:00
enumobject.c
exceptions.c Issue #25523: Correct "a" article to "an" article 2015-11-02 03:37:02 +00:00
fileobject.c Issue #25182: Fix compilation on Windows 2015-09-30 15:01:34 +02:00
floatobject.c Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary 2015-11-07 02:32:21 +00:00
frameobject.c Issue #21897: Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called. 2014-07-04 20:24:13 -04:00
funcobject.c Issue #18520: Fix PyFunction_NewWithQualName() error handling 2013-07-22 23:04:55 +02:00
genobject.c Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). 2015-05-22 11:02:49 +03:00
iterobject.c Issue #23985: Fixed integer overflow in iterator object. Patch by 2015-05-21 20:50:25 +03:00
listobject.c merge 3.3 (#24044) 2015-04-23 17:06:33 -04:00
listsort.txt Various clarifications based on feedback & questions over the years. 2013-08-24 15:15:19 -05:00
lnotab_notes.txt
longobject.c merge 3.3 2014-03-14 21:54:41 -05:00
memoryobject.c Issue #22668: Ensure that format strings survive slicing after casting. 2015-01-29 14:27:23 +01:00
methodobject.c Issue #21354: PyCFunction_New function is exposed by python DLL again. 2015-04-27 17:48:50 +03:00
moduleobject.c Issue #19255: Clear error after failed PyDict_SetItem() on shutdown. 2014-02-12 09:55:45 +02:00
namespaceobject.c Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). 2015-05-22 11:02:49 +03:00
object.c Various minor typos in documentation and comments 2015-10-07 10:26:23 +00:00
obmalloc.c Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform. 2014-11-02 18:40:09 +01:00
rangeobject.c Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), 2015-05-30 17:45:22 +03:00
setobject.c Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), 2015-05-30 17:45:22 +03:00
sliceobject.c Make Ellipsis and NotImplemented picklable through the reduce protocol. 2013-11-24 02:53:45 -08:00
structseq.c Issue #18520: Add a new PyStructSequence_InitType2() function, same than 2013-07-22 22:24:54 +02:00
tupleobject.c Issue #23629: Fix the default __sizeof__ implementation for variable-sized objects. 2015-03-10 22:32:00 +01:00
typeobject.c Various minor typos in documentation and comments 2015-10-07 10:26:23 +00:00
typeslots.inc
typeslots.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:15:49 +02:00
unicodectype.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
unicodeobject.c Issue #25523: Further a-to-an corrections. 2015-11-02 14:10:23 +02:00
unicodetype_db.h upgrade unicode db to 6.3.0 (closes #19221) 2013-10-10 17:24:45 -04:00
weakrefobject.c Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case of 2015-03-30 09:52:29 +03:00