diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-02-05 23:31:18 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-02-05 23:31:18 -0300 |
commit | ab0531d59e13e7d170ddaa0039c84b246162c574 (patch) | |
tree | 6946b9d99d451bd65d875bf8077dc51a962d354c /libre/p7zip/CVE-2016-9296.patch | |
parent | 80dd6b2c8a015fec1a464b6af5a4ed76035b5642 (diff) | |
download | abslibre-ab0531d59e13e7d170ddaa0039c84b246162c574.tar.gz abslibre-ab0531d59e13e7d170ddaa0039c84b246162c574.tar.bz2 abslibre-ab0531d59e13e7d170ddaa0039c84b246162c574.zip |
p7zip-16.02-3.parabola1: add fix for CVE-2016-9296 - FS#52841 -> https://bugs.archlinux.org/task/52841
Diffstat (limited to 'libre/p7zip/CVE-2016-9296.patch')
-rw-r--r-- | libre/p7zip/CVE-2016-9296.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/p7zip/CVE-2016-9296.patch b/libre/p7zip/CVE-2016-9296.patch new file mode 100644 index 000000000..773f92a46 --- /dev/null +++ b/libre/p7zip/CVE-2016-9296.patch @@ -0,0 +1,12 @@ +--- ./CPP/7zip/Archive/7z/7zIn.cpp.orig 2016-11-21 01:42:29.460901230 +0000 ++++ ./CPP/7zip/Archive/7z/7zIn.cpp 2016-11-21 01:42:57.481197725 +0000 +@@ -1097,7 +1097,8 @@ HRESULT CInArchive::ReadAndDecodePackedS + if (CrcCalc(data, unpackSize) != folders.FolderCRCs.Vals[i]) + ThrowIncorrect(); + } +- HeadersSize += folders.PackPositions[folders.NumPackStreams]; ++ if (folders.PackPositions) ++ HeadersSize += folders.PackPositions[folders.NumPackStreams]; + return S_OK; + } + |