# HG changeset patch # User Benjamin Peterson # Date 1453357506 28800 # Node ID 10dad6da1b28ea4af78ad9529e469fdbf4ebbc8f # Parent a3ac2cd93db9d5336dfd7b5b27efde2c568d8794# Parent 01ddd608b85c85952537d95a43bbabf4fb655057 merge 3.4 (#26171) Upstream-Status: Backport CVE: CVE-2016-5636 https://hg.python.org/cpython/raw-rev/10dad6da1b28 Signed-off-by: Armin Kuster Index: Python-3.5.1/Misc/NEWS =================================================================== --- Python-3.5.1.orig/Misc/NEWS +++ Python-3.5.1/Misc/NEWS @@ -91,6 +91,9 @@ Core and Builtins Python.h header to fix a compilation error with OpenMP. PyThreadState_GET() becomes an alias to PyThreadState_Get() to avoid ABI incompatibilies. +- Issue #26171: Fix possible integer overflow and heap corruption in + zipimporter.get_data(). + Library ------- Index: Python-3.5.1/Modules/zipimport.c =================================================================== --- Python-3.5.1.orig/Modules/zipimport.c +++ Python-3.5.1/Modules/zipimport.c @@ -1112,6 +1112,11 @@ get_data(PyObject *archive, PyObject *to } file_offset += l; /* Start of file data */ + if (data_size > LONG_MAX - 1) { + fclose(fp); + PyErr_NoMemory(); + return NULL; + } bytes_size = compress == 0 ? data_size : data_size + 1; if (bytes_size == 0) bytes_size++; -oe.git/refs/?id=ebd05b466bac1c28d37e243030959b7ef9b6ec26'>refslogtreecommitdiff
/packages/totem?id=4820ffb15f183a7fbe9ee074ee139def6dd34fc2'>fixed SRC_URI with part of patch from bug#191 >2006-07-02
AgeCommit message (Expand)AuthorFiles
2009-10-14gnome: start cleaning up gconf providersKoen Kooi1
2009-03-17rename packages/ to recipes/ per earlier agreementDenys Dmytriyenko1
Marcin Juszkiewicz1
2005-08-01added totem 0.101 - BROKEN due to lack of 'libnautilus-burn' package (or opti...Marcin Juszkiewicz4
2005-08-01marked totem 0.99.15 as BROKEN - it is not fetchableMarcin Juszkiewicz1
2005-06-30import clean BK tree at cset 1.3670Koen Kooi5
2004-12-09Merge oe-devel@oe-devel.bkbits.net:openembeddedChris Larson3
Opie: Rename Opie 1.2.1 to 1.2.2, Remove PRsHolger Freyther2
2006-01-12Correct Opie PV format to preserve upgradability of packages but note where c...Richard Purdie2
2006-01-07Convert CVSDATE -> SRCDATE. Also standardise cvs and svn PVs to x.x.x+cvsYYYY...Richard Purdie1
2005-09-12Opie 1.2.1:Holger Freyther2
2005-06-30import clean BK tree at cset 1.3670Koen Kooi7