cpython/Objects
Dennis Sweeney d488970ae6
[3.11] gh-105235: Prevent reading outside buffer during mmap.find() (… (#106710)
[3.11] gh-105235: Prevent reading outside buffer during mmap.find() (GH-105252)

* Add a special case for s[-m:] == p in _PyBytes_Find

* Add tests for _PyBytes_Find

* Make sure that start <= end in mmap.find.
(cherry picked from commit ab86426a34)
2023-07-14 22:17:09 -04:00
..
clinic
stringlib
abstract.c
accu.c
boolobject.c [3.11] gh-101266: Revert fix __sizeof__ for subclasses of int (#101638) 2023-02-07 11:44:43 +00:00
bytearrayobject.c [3.11] gh-101765: Fix SystemError / segmentation fault in iter __reduce__ when internal access of builtins.__dict__ exhausts the iterator (GH-101769) (#102228) 2023-02-24 19:49:59 -08:00
bytes_methods.c
bytesobject.c [3.11] gh-105235: Prevent reading outside buffer during mmap.find() (… (#106710) 2023-07-14 22:17:09 -04:00
call.c
capsule.c
cellobject.c
classobject.c
codeobject.c [3.11] Fix possible refleak in CodeType.replace() (GH-106243) (GH-106245) 2023-06-29 21:41:18 +03:00
complexobject.c
descrobject.c
dictnotes.txt
dictobject.c gh-102701: Fix overflow in dictobject.c (GH-102750) 2023-03-17 07:54:18 -07:00
enumobject.c
exception_handling_notes.txt
exceptions.c [3.11] gh-106033: Get rid of new occurrences of PyDict_GetItem and Py… (#106040) 2023-06-24 16:41:02 -07:00
fileobject.c [3.11] gh-96670: Raise SyntaxError when parsing NULL bytes (GH-97594) (#104195) 2023-05-07 11:12:04 +01:00
floatobject.c
frame_layout.md
frameobject.c
funcobject.c gh-87864: Use correct function definition syntax in the docs (GH-103312) 2023-04-11 07:19:33 -07:00
genericaliasobject.c [3.11] gh-101765: Fix SystemError / segmentation fault in iter __reduce__ when internal access of builtins.__dict__ exhausts the iterator (GH-101769) (#102228) 2023-02-24 19:49:59 -08:00
genobject.c
interpreteridobject.c
iterobject.c gh-101892: Fix SystemError when a callable iterator call exhausts the iterator (GH-101896) 2023-03-04 06:46:17 -08:00
listobject.c [3.11] gh-101765: Fix refcount issues in list and unicode pickling (GH-102265) (#102268) 2023-02-25 16:38:19 -08:00
listsort.txt
lnotab_notes.txt
locations.md
longobject.c [3.11] gh-101266: Revert fix __sizeof__ for subclasses of int (#101638) 2023-02-07 11:44:43 +00:00
memoryobject.c
methodobject.c
moduleobject.c
namespaceobject.c
object.c
obmalloc.c [3.11] GH-94841: Fix usage of Py_ALWAYS_INLINE (GH-104439) 2023-05-12 22:06:29 +00:00
odictobject.c
picklebufobject.c
rangeobject.c
README
setobject.c
sliceobject.c
structseq.c
tupleobject.c [3.11] gh-101765: Fix SystemError / segmentation fault in iter __reduce__ when internal access of builtins.__dict__ exhausts the iterator (GH-101769) (#102228) 2023-02-24 19:49:59 -08:00
typeobject.c [3.11] Fix refleak in super_descr_get (GH-104440) 2023-05-12 22:29:02 +00:00
typeslots.inc
typeslots.py
unicodectype.c
unicodeobject.c [3.11] gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() (GH-105491) (#105662) 2023-06-11 20:01:52 +00:00
unicodetype_db.h
unionobject.c
weakrefobject.c [3.11] gh-99184: Bypass instance attribute access in repr of weakref.ref (GH-99244) (#103789) 2023-04-24 19:58:55 +00:00

Source files for various builtin objects