From 4ec98a87b35539996c670076f14c72a80fd12a35 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Wed, 2 Jan 2019 12:59:55 +0100 Subject: [PATCH] Remove unused and upstreamed patch No need to issue a build just for this. --- LibRaw-0.17.1-CVE-2015-8366-8367.patch | 14 -------------- LibRaw.spec | 2 -- 2 files changed, 16 deletions(-) delete mode 100644 LibRaw-0.17.1-CVE-2015-8366-8367.patch diff --git a/LibRaw-0.17.1-CVE-2015-8366-8367.patch b/LibRaw-0.17.1-CVE-2015-8366-8367.patch deleted file mode 100644 index b8848de..0000000 --- a/LibRaw-0.17.1-CVE-2015-8366-8367.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -r -U3 LibRaw-0.17.1.orig/dcraw/dcraw.c LibRaw-0.17.1/dcraw/dcraw.c ---- LibRaw-0.17.1.orig/dcraw/dcraw.c 2015-05-24 21:30:26.000000000 -0500 -+++ LibRaw-0.17.1/dcraw/dcraw.c 2015-12-01 07:47:00.086513959 -0600 -@@ -2901,6 +2901,10 @@ - diff = diff ? -diff : 0x80; - if (ftell(ifp) + 12 >= seg[1][1]) - diff = 0; -+#ifdef LIBRAW_LIBRARY_BUILD -+ if(pix>=raw_width*raw_height) -+ throw LIBRAW_EXCEPTION_IO_CORRUPT; -+#endif - raw_image[pix] = pred[pix & 1] += diff; - if (!(pix & 1) && HOLE(pix / raw_width)) pix += 2; - } diff --git a/LibRaw.spec b/LibRaw.spec index 0c72402..7b3df21 100644 --- a/LibRaw.spec +++ b/LibRaw.spec @@ -13,7 +13,6 @@ BuildRequires: autoconf automake libtool Source0: http://www.libraw.org/data/%{name}-%{version}.tar.gz Patch0: LibRaw-0.6.0-pkgconfig.patch -#Patch1: LibRaw-0.17.1-CVE-2015-8366-8367.patch Provides: bundled(dcraw) = 9.25 %description @@ -53,7 +52,6 @@ LibRaw sample programs %setup -q %patch0 -p0 -b .pkgconfig -#%patch1 -p1 -b .CVE-2015-8366 %build autoreconf -if