diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-07-27 15:51:32 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-07-27 15:51:32 -0500 |
commit | 52a964b3feba12afc6f4288ea9869e74faada7b1 (patch) | |
tree | 55d67d232fa7cdc4f6499c69b78516495d48cb6e /libre/p7zip/CVE-2016-2335.patch | |
parent | 0f48cdc2b554f874c980f7a958affa5edaab9dd2 (diff) | |
download | abslibre-52a964b3feba12afc6f4288ea9869e74faada7b1.tar.gz abslibre-52a964b3feba12afc6f4288ea9869e74faada7b1.tar.bz2 abslibre-52a964b3feba12afc6f4288ea9869e74faada7b1.zip |
p7zip-16.02-3.parabola2: rebuild
Diffstat (limited to 'libre/p7zip/CVE-2016-2335.patch')
-rw-r--r-- | libre/p7zip/CVE-2016-2335.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libre/p7zip/CVE-2016-2335.patch b/libre/p7zip/CVE-2016-2335.patch deleted file mode 100644 index a00d6a386..000000000 --- a/libre/p7zip/CVE-2016-2335.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: p7zip_15.14.1/CPP/7zip/Archive/Udf/UdfIn.cpp -=================================================================== ---- p7zip_15.14.1.orig/CPP/7zip/Archive/Udf/UdfIn.cpp -+++ p7zip_15.14.1/CPP/7zip/Archive/Udf/UdfIn.cpp -@@ -389,7 +389,11 @@ HRESULT CInArchive::ReadFileItem(int vol - return S_FALSE; - CFile &file = Files.Back(); - const CLogVol &vol = LogVols[volIndex]; -- CPartition &partition = Partitions[vol.PartitionMaps[lad.Location.PartitionRef].PartitionIndex]; -+ unsigned partitionRef = lad.Location.PartitionRef; -+ -+ if (partitionRef >= vol.PartitionMaps.Size()) -+ return S_FALSE; -+ CPartition &partition = Partitions[vol.PartitionMaps[partitionRef].PartitionIndex]; - - UInt32 key = lad.Location.Pos; - UInt32 value; |