Remove unused and upstreamed patch

No need to issue a build just for this.
This commit is contained in:
Debarshi Ray 2019-01-02 12:59:55 +01:00
parent 7bac0c82cb
commit 4ec98a87b3
2 changed files with 0 additions and 16 deletions

View File

@ -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;
}

View File

@ -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