From: Serhiy Storchaka Date: Mon, 6 Jul 2015 11:03:01 +0000 (+0300) Subject: Issue #18684: Fixed reading out of the buffer in the re module. X-Git-Tag: v3.5.0b4~72 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02eae6b1f23d1c5ea87816f1f8d15cdab2dfaf0a;p=python Issue #18684: Fixed reading out of the buffer in the re module. --- 02eae6b1f23d1c5ea87816f1f8d15cdab2dfaf0a diff --cc Misc/NEWS index cec677900a,f064e0ae9b..b45b48dc54 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,48 -10,58 +10,50 @@@ Release date: 2015-07-2 Core and Builtins ----------------- -- Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray - object now always allocates place for trailing null byte and it's buffer now - is always null-terminated. - -- Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), - PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() - to check for and handle errors correctly. - -- Issue #24257: Fixed system error in the comparison of faked - types.SimpleNamespace. - -- Issue #22939: Fixed integer overflow in iterator object. Patch by - Clement Rouault. +- Issue #24569: Make PEP 448 dictionary evaluation more consistent. -- Issue #23985: Fix a possible buffer overrun when deleting a slice from - the front of a bytearray and then appending some other bytes data. +- Issue #24407: Fix crash when dict is mutated while being updated. -- Issue #24102: Fixed exception type checking in standard error handlers. +Library +------- -- Issue #23757: PySequence_Tuple() incorrectly called the concrete list API - when the data was a list subclass. ++- Issue #18684: Fixed reading out of the buffer in the re module. + -- Issue #24407: Fix crash when dict is mutated while being updated. +- Issue #24259: tarfile now raises a ReadError if an archive is truncated + inside a data segment. -- Issue #24096: Make warnings.warn_explicit more robust against mutation of the - warnings.filters list. -- Issue #23996: Avoid a crash when a delegated generator raises an - unnormalized StopIteration exception. Patch by Stefan Behnel. +What's New in Python 3.5.0 beta 3? +================================== -- Issue #24022: Fix tokenizer crash when processing undecodable source code. +Release date: 2015-07-05 -- Issue #23309: Avoid a deadlock at shutdown if a daemon thread is aborted - while it is holding a lock to a buffered I/O object, and the main thread - tries to use the same I/O object (typically stdout or stderr). A fatal - error is emitted instead. +Core and Builtins +----------------- -- Issue #22977: Fixed formatting Windows error messages on Wine. - Patch by Martin Panter. +- Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray + object now always allocates place for trailing null byte and it's buffer now + is always null-terminated. -- Issue #23803: Fixed str.partition() and str.rpartition() when a separator - is wider then partitioned string. +- Upgrade to Unicode 8.0.0. -- Issue #23192: Fixed generator lambdas. Patch by Bruno Cauet. +- Issue #24345: Add Py_tp_finalize slot for the stable ABI. -- Issue #23629: Fix the default __sizeof__ implementation for variable-sized - objects. +- Issue #24400: Introduce a distinct type for PEP 492 coroutines; add + types.CoroutineType, inspect.getcoroutinestate, inspect.getcoroutinelocals; + coroutines no longer use CO_GENERATOR flag; sys.set_coroutine_wrapper + works only for 'async def' coroutines; inspect.iscoroutine no longer + uses collections.abc.Coroutine, it's intended to test for pure 'async def' + coroutines only; add new opcode: GET_YIELD_FROM_ITER; fix generators wrapper + used in types.coroutine to be instance of collections.abc.Generator; + collections.abc.Awaitable and collections.abc.Coroutine can no longer + be used to detect generator-based coroutines--use inspect.isawaitable + instead. -- Issue #24044: Fix possible null pointer dereference in list.sort in out of - memory conditions. +- Issue #24450: Add gi_yieldfrom to generators and cr_await to coroutines. + Contributed by Benno Leslie and Yury Selivanov. -- Issue #21354: PyCFunction_New function is exposed by python DLL again. +- Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. Library -------