From 1304c100b1bbf9c754e47acf2321b175766bb237 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Oct 02 2017 12:59:18 +0000 Subject: clean up obsolete patchfile --- diff --git a/rawtherapee-CVE-2017-13735.patch b/rawtherapee-CVE-2017-13735.patch deleted file mode 100644 index 147f06c..0000000 --- a/rawtherapee-CVE-2017-13735.patch +++ /dev/null @@ -1,34 +0,0 @@ -From afb503c50f59fcb08d2d250a92cb982c4a324491 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Fl=C3=B6ssie?= -Date: Sat, 9 Sep 2017 17:43:33 +0200 -Subject: [PATCH] Prevent /0 in dcraw.cc (fixes #4061) - -#Final solution by @heckflosse. Thanks! -#--- -# rtengine/dcraw.cc | 8 +++++++- -# 1 file changed, 7 insertions(+), 1 deletion(-) -# -diff --git a/rtengine/dcraw.cc b/rtengine/dcraw.cc -index a70c2d2dc..5bda02f86 100644 ---- a/rtengine/dcraw.cc -+++ b/rtengine/dcraw.cc -@@ -2563,6 +2563,12 @@ void CLASS kodak_radc_load_raw() - for (row=0; row < height; row+=4) { - FORC3 mul[c] = getbits(6); - FORC3 { -+ if (!mul[c]) { -+ mul[c] = 1; -+ derror(); -+ } -+ } -+ FORC3 { - val = ((0x1000000/last[c] + 0x7ff) >> 12) * mul[c]; - s = val > 65564 ? 10:12; - x = ~(-1 << (s-1)); -@@ -9936,4 +9942,4 @@ struct tiff_hdr { - /*RT*/#undef CLIP - #ifdef __GNUC__ - #pragma GCC diagnostic pop --#endif -\ No newline at end of file -+#endif