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

OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=135
This commit is contained in:
Petr Gajdos 2019-12-20 09:49:25 +00:00 committed by Git OBS Bridge
parent dafbaf02b5
commit c4d57e1859
5 changed files with 23 additions and 30 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63a0a7088206f4083039c8a6bcacdfd0d739854205c4821475e314821d13bddb
size 553780

3
LibRaw-0.19.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40a262d7cc71702711a0faec106118ee004f86c86cc228281d12d16da03e02f5
size 1303806

View File

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

View File

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

View File

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