From 252bc8dd8ea03a43c78304ea6b2ceabf5c1ab1ed2f62cbf59b0651de7716cf5e Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 30 Jan 2019 10:17:21 +0000 Subject: [PATCH] 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 --- tiff-CVE-2018-12900.patch | 2 +- tiff.changes | 6 ++++++ tiff.spec | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tiff-CVE-2018-12900.patch b/tiff-CVE-2018-12900.patch index 208b451..e62d8ab 100644 --- a/tiff-CVE-2018-12900.patch +++ b/tiff-CVE-2018-12900.patch @@ -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; + } diff --git a/tiff.changes b/tiff.changes index b055ee1..9077ec1 100644 --- a/tiff.changes +++ b/tiff.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 30 10:12:37 UTC 2019 - Petr Gajdos + +- amend tiff-CVE-2018-12900.patch: fix wrong error message + [bsc#1099257] + ------------------------------------------------------------------- Mon Nov 19 13:56:48 UTC 2018 - Petr Gajdos diff --git a/tiff.spec b/tiff.spec index 95aa1e4..fe925cf 100644 --- a/tiff.spec +++ b/tiff.spec @@ -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