diff options
author | 2018-05-08 11:54:37 -0500 | |
---|---|---|
committer | 2018-05-08 11:55:35 -0500 | |
commit | 1ec1595e6328e5f68dd1ce669e2841e052360c55 (patch) | |
tree | 7018c1dbbf88d323927878c4aafa631a2215714a /app-arch/p7zip/files/CVE-2016-9296.patch | |
parent | dev-python/oslo-versionedobjects: 1.31.3 bup (diff) | |
download | gentoo-1ec1595e6328e5f68dd1ce669e2841e052360c55.tar.gz gentoo-1ec1595e6328e5f68dd1ce669e2841e052360c55.tar.bz2 gentoo-1ec1595e6328e5f68dd1ce669e2841e052360c55.zip |
app-arch/p7zip: adding 2016 cve
Package-Manager: Portage-2.3.27, Repoman-2.3.9
Diffstat (limited to 'app-arch/p7zip/files/CVE-2016-9296.patch')
-rw-r--r-- | app-arch/p7zip/files/CVE-2016-9296.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-arch/p7zip/files/CVE-2016-9296.patch b/app-arch/p7zip/files/CVE-2016-9296.patch new file mode 100644 index 000000000000..773f92a46e0e --- /dev/null +++ b/app-arch/p7zip/files/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; + } + |