Accepting request 670090 from home:pgajdos

- amend tiff-CVE-2018-12900.patch: fix wrong error message
  [bsc#1099257]

OBS-URL: https://build.opensuse.org/request/show/670090
OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=134
This commit is contained in:
Fridrich Strba 2019-01-30 10:17:21 +00:00 committed by Git OBS Bridge
parent 74e51d9f9b
commit 252bc8dd8e
3 changed files with 8 additions and 2 deletions

View File

@ -8,7 +8,7 @@ Index: tiff-4.0.10/tools/tiffcp.c
}
+ if (0xFFFFFFFF / tilew < spp)
+ {
+ TIFFError(TIFFFileName(in), "Error, either TileWidth (%u) or BitsPerSample (%u) is too large", tilew, bps);
+ TIFFError(TIFFFileName(in), "Error, either TileWidth (%u) or SamplePerPixel (%u) is too large", tilew, spp);
+ status = 0;
+ goto done;
+ }

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 30 10:12:37 UTC 2019 - Petr Gajdos <pgajdos@suse.com>
- amend tiff-CVE-2018-12900.patch: fix wrong error message
[bsc#1099257]
-------------------------------------------------------------------
Mon Nov 19 13:56:48 UTC 2018 - Petr Gajdos <pgajdos@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package tiff
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed