cpython/Objects
Miss Islington (bot) 9fbcb1402e
[3.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) (GH-10522)
Discovered using clang's MemorySanitizer when it ran python3's
test_fstring test_misformed_unicode_character_name.

An msan build will fail by simply executing: ./python -c 'u"\N"'
(cherry picked from commit 746b2d35ea)


Co-authored-by: Gregory P. Smith <greg@krypto.org>


https://bugs.python.org/issue35214
2018-11-13 16:39:36 -08:00
..
clinic bpo-32677: Add .isascii() to str, bytes and bytearray (GH-5342) 2018-01-27 14:06:21 +09:00
stringlib bpo-32677: Add .isascii() to str, bytes and bytearray (GH-5342) 2018-01-27 14:06:21 +09:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
abstract.c closes bpo-34504: Remove the useless NULL check in PySequence_Check(). (GH-8935) 2018-08-25 20:03:48 -04:00
accu.c Replace KB unit with KiB (#4293) 2017-11-08 14:44:44 -08:00
boolobject.c bpo-30592: Fixed error messages for some builtins. (#1996) 2017-06-08 14:41:19 +03:00
bytearrayobject.c bpo-34974: Do not replace unexpected errors in bytes() and bytearray(). (GH-9852) 2018-10-14 14:26:28 -07:00
bytes_methods.c bpo-32677: Optimize str.isascii() (GH-5356) 2018-01-28 09:59:12 +09:00
bytesobject.c bpo-34973: Fix crash in bytes constructor. (GH-9841) 2018-10-21 05:55:52 -07:00
call.c bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746) 2017-12-15 13:11:11 +02:00
capsule.c Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 2010-08-11 17:31:17 +00:00
cellobject.c bpo-23699: Use a macro to reduce boilerplate code in rich comparison functions (GH-793) 2017-11-02 20:32:54 +10:00
classobject.c bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222) 2018-01-25 17:49:40 +09:00
codeobject.c bpo-24618: Add a check in the code constructor. (GH-8283) 2018-07-16 00:09:44 -07:00
complexobject.c bpo-31979: Simplify transforming decimals to ASCII (#4336) 2017-11-13 21:23:48 +02:00
descrobject.c bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) 2018-02-13 03:32:18 -08:00
dict-common.h bpo-33312: Fix clang ubsan out of bounds warnings in dict. (GH-6537) (GH-6543) 2018-04-20 10:06:21 -07:00
dictnotes.txt Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
dictobject.c bpo-34320: Fix dict(o) didn't copy order of dict subclass (GH-8624) 2018-09-25 21:17:52 -07:00
enumobject.c bpo-31579: Fixed a possible leak in enumerate() with large indices. (#3753) 2017-09-26 08:14:58 +03:00
exceptions.c bpo-32685: Improve suggestion for print statement (GH-5375) 2018-01-28 20:56:02 +10:00
fileobject.c bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) 2018-11-12 22:20:21 -08:00
floatobject.c Fix typo and edit for clarity in the docstrings of sys.float_info. (GH-2251) 2018-03-26 03:58:10 -07:00
frameobject.c [3.7] bpo-17288: Prevent jumps from 'return' and 'exception' trace events. (GH-5928) 2018-03-13 10:52:35 +02:00
funcobject.c bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) 2018-02-13 03:32:18 -08:00
genobject.c closes bpo-34493: Objects/genobject.c: Add missing NULL check to compute_cr_origin() (GH-8911) 2018-08-25 03:36:34 -04:00
iterobject.c bpo-30860: Consolidate stateful runtime globals. (#3397) 2017-09-07 23:51:28 -06:00
listobject.c closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800) 2018-02-21 21:44:08 -08:00
listsort.txt bpo-28685: Optimize sorted() list.sort() with type-specialized comparisons (#582) 2018-01-28 19:03:23 -08:00
lnotab_notes.txt bpo-28810: Update lnotab_notes.txt (#665) 2017-03-14 21:42:09 +02:00
longobject.c bpo-34899: Fix a possible assertion failure due to int_from_bytes_impl() (GH-9705) 2018-10-05 14:28:56 -07:00
memoryobject.c bpo-30860: Consolidate stateful runtime globals. (#3397) 2017-09-07 23:51:28 -06:00
methodobject.c bpo-30860: Consolidate stateful runtime globals. (#3397) 2017-09-07 23:51:28 -06:00
moduleobject.c [3.7] Fix misleading mentions of tp_size in comments. (GH-9136) 2018-09-10 10:22:55 -07:00
namespaceobject.c [3.7] Fix misleading mentions of tp_size in comments. (GH-9136) 2018-09-10 10:22:55 -07:00
object.c bpo-34910: Ensure that PyObject_Print() always returns -1 on error. (GH-9733) 2018-10-06 00:07:12 -07:00
obmalloc.c closes bpo-35204: Disable thread and memory sanitizers for address_in_range(). (GH-10442) 2018-11-11 15:44:34 -08:00
odictobject.c bpo-33712: OrderedDict only creates od_fast_nodes cache if needed (GH-7349). (GH-10000) 2018-10-20 11:24:05 +03:00
rangeobject.c Fix a possible crash in range.__reversed__(). (GH-10252) 2018-10-31 02:31:29 -07:00
setobject.c bpo-1621: Avoid signed integer overflow in set_table_resize() (GH-9059) (GH-9198) 2018-10-20 00:50:34 +02:00
sliceobject.c bpo-30860: Consolidate stateful runtime globals. (#3397) 2017-09-07 23:51:28 -06:00
structseq.c bpo-29793: Convert some builtin types constructors to Argument Clinic. (#615) 2017-03-19 08:51:07 +02:00
tupleobject.c closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800) 2018-02-21 21:44:08 -08:00
typeobject.c bpo-25750: fix refcounts in type_getattro() (GH-6118) 2018-09-07 00:50:35 -07:00
typeslots.inc add Py_tp_finalize slot (closes #24345) 2015-06-01 10:12:48 -05:00
typeslots.py Issue #26662: Set PYTHON_FOR_GEN in configure 2016-07-26 12:48:08 +02:00
unicodectype.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
unicodeobject.c [3.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) (GH-10522) 2018-11-13 16:39:36 -08:00
unicodetype_db.h update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) (GH-7470) 2018-06-07 03:36:22 -04:00
weakrefobject.c bpo-30592: Fixed error messages for some builtins. (#1996) 2017-06-08 14:41:19 +03:00

README

Source files for various builtin objects