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:
parent
74e51d9f9b
commit
252bc8dd8e
@ -8,7 +8,7 @@ Index: tiff-4.0.10/tools/tiffcp.c
|
|||||||
}
|
}
|
||||||
+ if (0xFFFFFFFF / tilew < spp)
|
+ 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;
|
+ status = 0;
|
||||||
+ goto done;
|
+ goto done;
|
||||||
+ }
|
+ }
|
||||||
|
@ -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>
|
Mon Nov 19 13:56:48 UTC 2018 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package tiff
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
Loading…
Reference in New Issue
Block a user