This commit is contained in:
parent
aba2738779
commit
b74435abe5
16
tiff-4.0.7-TIFFTAG_FAXRECVPARAMS.patch
Normal file
16
tiff-4.0.7-TIFFTAG_FAXRECVPARAMS.patch
Normal 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[];
|
@ -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
|
Fri Jan 13 10:03:25 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
@ -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=2656 and
|
||||||
# http://bugzilla.maptools.org/show_bug.cgi?id=2657
|
# http://bugzilla.maptools.org/show_bug.cgi?id=2657
|
||||||
Patch4: tiff-4.0.7-CVE-2017-5225.patch
|
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: gcc-c++
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
@ -99,6 +102,7 @@ the libtiff library.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch3
|
%patch3
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -fPIE"
|
CFLAGS="%{optflags} -fPIE"
|
||||||
|
Loading…
Reference in New Issue
Block a user