diff --git a/LibRaw-0.19.2.tar.gz b/LibRaw-0.19.2.tar.gz deleted file mode 100644 index 06dafe6..0000000 --- a/LibRaw-0.19.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:63a0a7088206f4083039c8a6bcacdfd0d739854205c4821475e314821d13bddb -size 553780 diff --git a/LibRaw-0.19.5.tar.gz b/LibRaw-0.19.5.tar.gz new file mode 100644 index 0000000..57bde3a --- /dev/null +++ b/LibRaw-0.19.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40a262d7cc71702711a0faec106118ee004f86c86cc228281d12d16da03e02f5 +size 1303806 diff --git a/libraw-half-size-allocation-buffer-overflow.patch b/libraw-half-size-allocation-buffer-overflow.patch deleted file mode 100644 index bb40d11..0000000 --- a/libraw-half-size-allocation-buffer-overflow.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/internal/dcraw_common.cpp b/internal/dcraw_common.cpp -index a0cd7226..6d1376f6 100644 ---- a/internal/dcraw_common.cpp -+++ b/internal/dcraw_common.cpp -@@ -18997,10 +18997,15 @@ void CLASS identify() - { - if (!load_raw) - load_raw = &CLASS unpacked_load_raw; -- if (is_raw > 1 && !shot_select && !half_size) -+ if (is_raw > 1 && !shot_select) - filters = 0; - maximum = 0x3fff; - } -+ else if(load_raw == &LibRaw::sinar_4shot_load_raw) -+ { -+ if (is_raw > 1 && !shot_select) -+ filters = 0; -+ } - else if (!strncmp(make, "Leaf", 4)) - { - maximum = 0x3fff; - diff --git a/libraw.changes b/libraw.changes index d834a2a..eb0f80d 100644 --- a/libraw.changes +++ b/libraw.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Dec 20 09:46:35 UTC 2019 - pgajdos@suse.com + +- version update to 0.19.5 + * LibRaw 0.19.5 + * WB coefficients check was too strong, weakened + * Fixed possible buffer underrun in modern Samsung loader + * LibRaw 0.19.4 + * CRW/metadata loop prevention code is rolled back due to ABI + incompatibility. To enable, use -DLIBRAW_METADATA_LOOP_PREVENTION=1 + compile flag for LibRaw and ALL APPS. + * Fixed possible buffer underflow + * LibRaw 0.19.3 + * Several fixes inspired by OSS-Fuzz +- deleted patches + - libraw-half-size-allocation-buffer-overflow.patch (upstreamed) + ------------------------------------------------------------------- Wed Aug 21 13:01:57 UTC 2019 - pgajdos@suse.com diff --git a/libraw.spec b/libraw.spec index 064326b..49c97fc 100644 --- a/libraw.spec +++ b/libraw.spec @@ -1,7 +1,7 @@ # # spec file for package libraw # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,16 +23,15 @@ %define lver 19 %define lname libraw%{lver} Name: libraw -Version: 0.19.2 +Version: 0.19.5 Release: 0 Summary: Library for reading RAW files obtained from digital photo cameras License: CDDL-1.0 OR LGPL-2.1-only Group: Development/Libraries/C and C++ -Url: https://www.libraw.org/ +URL: https://www.libraw.org/ #Git-Clone: git://github.com/LibRaw/LibRaw Source: https://www.libraw.org/data/%tar_name-%version.tar.gz Patch1: libraw-Add-Sony-ILCE-7M3.patch -Patch2: libraw-half-size-allocation-buffer-overflow.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes @@ -103,7 +102,6 @@ against LibRaw. LibRaw does not provide dynamic libraries. %prep %setup -q -n %{tar_name}-%{version} %patch1 -p1 -%patch2 -p1 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects