Accepting request 454370 from graphics

bsc#1022103

OBS-URL: https://build.opensuse.org/request/show/454370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tiff?expand=0&rev=65
This commit is contained in:
Dominique Leuenberger 2017-02-08 09:44:44 +00:00 committed by Git OBS Bridge
commit 2b6b2af8d1
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,16 @@
--- a/libtiff/tif_fax3.h
+++ b/libtiff/tif_fax3.h
@@ -81,10 +81,12 @@ extern void _TIFFFax3fillruns(unsigned char*, uint32*, uint32*, uint32);
#define S_MakeUp 11
#define S_EOL 12
+/* WARNING: do not change the layout of this structure as the Halyfax software */
+/* really depends on it. See http://bugzilla.maptools.org/show_bug.cgi?id=2636 */
typedef struct { /* state table entry */
unsigned char State; /* see above */
unsigned char Width; /* width of code in bits */
- uint16 Param; /* unsigned 16-bit run length in bits */
+ uint32 Param; /* unsigned 32-bit run length in bits (holds on 16 bit actually, but cannot be changed. See above warning) */
} TIFFFaxTabEnt;
extern const TIFFFaxTabEnt TIFFFaxMainTable[];

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 2 13:40:16 UTC 2017 - fstrba@suse.com
- Added patch:
* tiff-4.0.7-TIFFTAG_FAXRECVPARAMS.patch
- Fix a regression introduced in 4.0.7 (bsc#1022103)
- http://bugzilla.maptools.org/show_bug.cgi?id=2636
-------------------------------------------------------------------
Fri Jan 13 10:03:25 UTC 2017 - fstrba@suse.com

View File

@ -34,6 +34,9 @@ Patch3: tiff-4.0.7-CVE-2015-7554.patch
# http://bugzilla.maptools.org/show_bug.cgi?id=2656 and
# http://bugzilla.maptools.org/show_bug.cgi?id=2657
Patch4: tiff-4.0.7-CVE-2017-5225.patch
# http://http://bugzilla.maptools.org/show_bug.cgi?id=2636
# bsc#1022103
Patch5: tiff-4.0.7-TIFFTAG_FAXRECVPARAMS.patch
BuildRequires: gcc-c++
BuildRequires: libjpeg-devel
@ -99,6 +102,7 @@ the libtiff library.
%patch1 -p1
%patch3
%patch4 -p1
%patch5 -p1
%build
CFLAGS="%{optflags} -fPIE"