summaryrefslogtreecommitdiff
path: root/libre/p7zip/CVE-2017-17969.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2021-04-30 22:10:21 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2021-04-30 22:10:21 -0500
commite3f5ca21b006cfb164382123fd13c98f4ce1a77e (patch)
tree3bda0747396bb909f73c1e80c3dae120b747109a /libre/p7zip/CVE-2017-17969.patch
parent380ff5f5138df3cc7b50ec0f31811dadeb7a01db (diff)
downloadabslibre-e3f5ca21b006cfb164382123fd13c98f4ce1a77e.tar.gz
abslibre-e3f5ca21b006cfb164382123fd13c98f4ce1a77e.tar.bz2
abslibre-e3f5ca21b006cfb164382123fd13c98f4ce1a77e.zip
p7zip-17.04-1.parabola1: updating version
Diffstat (limited to 'libre/p7zip/CVE-2017-17969.patch')
-rw-r--r--libre/p7zip/CVE-2017-17969.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/libre/p7zip/CVE-2017-17969.patch b/libre/p7zip/CVE-2017-17969.patch
deleted file mode 100644
index ebc0ac93e..000000000
--- a/libre/p7zip/CVE-2017-17969.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 79bca880ce7bcf07216c45f93afea545e0344418 Mon Sep 17 00:00:00 2001
-From: aone <aone@keka.io>
-Date: Mon, 5 Feb 2018 13:01:09 +0100
-Subject: [PATCH] Security fix CVE-2017-17969
-
----
- CPP/7zip/Compress/ShrinkDecoder.cpp | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/CPP/7zip/Compress/ShrinkDecoder.cpp b/CPP/7zip/Compress/ShrinkDecoder.cpp
-index 80b7e67..5bb0559 100644
---- a/CPP/7zip/Compress/ShrinkDecoder.cpp
-+++ b/CPP/7zip/Compress/ShrinkDecoder.cpp
-@@ -121,7 +121,12 @@ HRESULT CDecoder::CodeReal(ISequentialInStream *inStream, ISequentialOutStream *
- {
- _stack[i++] = _suffixes[cur];
- cur = _parents[cur];
-+ if (cur >= kNumItems || i >= kNumItems)
-+ break;
- }
-+
-+ if (cur >= kNumItems || i >= kNumItems)
-+ break;
-
- _stack[i++] = (Byte)cur;
- lastChar2 = (Byte)cur;