Nathan Baker
473851d211
Fix for bug 2772
...
It is possible to craft a TIFF document where the IFD list is circular,
leading to an infinite loop while traversing the chain. The libtiff
directory reader has a failsafe that will break out of this loop after
reading 65535 directory entries, but it will continue processing,
consuming time and resources to process what is essentially a bogus TIFF
document.
This change fixes the above behavior by breaking out of processing when
a TIFF document has >= 65535 directories and terminating with an error.
2018-02-12 09:43:34 -05:00
Bob Friesenhahn
9626bb6db9
* contrib/addtiffo/tif_overview.c (TIFF_DownSample): Check buffer
...
size calculation for overflow.
2015-05-30 21:13:39 +00:00
Bob Friesenhahn
bfbc717684
* contrib: Add an emacs formatting mode footer to all source files
...
so that emacs can be effectively used.
2010-06-08 18:55:15 +00:00
Bob Friesenhahn
968401fdf3
* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
...
tags now require 64-bit parameter rather than 32-bit.
* libtiff/tif_dirread.c: Fixed issues with unaligned access to
64-bit values.
2008-12-31 03:06:27 +00:00
Andrey Kiselev
42bed3384e
libtiff 4.0.0alpha released.
2007-07-13 14:57:37 +00:00
Frank Warmerdam
d8921f2ad4
Fix problems with odd sized output blocks in TIFF_DownSample_Subsampled() (bug 1542).
2007-04-07 06:36:39 +00:00
Frank Warmerdam
59e0f5cb33
avoid direct use of tif_clientdata
2005-12-21 16:09:21 +00:00
Joris Van Damme
5cbfc68f06
*** empty log message ***
2005-12-21 12:23:13 +00:00
Frank Warmerdam
c992dfcfe9
Major upgrade to support YCbCr subsampled jpeg images
2005-12-16 05:59:55 +00:00
Andrey Kiselev
fff57028ae
Make overviews working for contiguos images.
2005-06-06 14:15:47 +00:00
Andrey Kiselev
9ed49a2d4b
CPL stuff removed.
2005-05-26 18:21:31 +00:00
Andrey Kiselev
023cdf2a94
Sinchronized with GDAL.
2005-05-25 09:37:05 +00:00
Andrey Kiselev
70040ecf02
Unneeded header removed.
2004-08-08 15:32:29 +00:00
Frank Warmerdam
669e3e4074
improve error check for overview failure, fix warnings, fix header
2004-07-26 14:27:27 +00:00
Frank Warmerdam
8f1d4f9582
improve error check for overview failure, fix warnings
2004-07-26 14:25:04 +00:00
Frank Warmerdam
557efe0f3c
Added support for averaging resampling
2000-04-18 22:48:31 +00:00
Frank Warmerdam
aca9e32b0a
pass TIFF handle instead of filename to overview builder
2000-01-28 15:36:38 +00:00
Frank Warmerdam
fb8149ec52
New
2000-01-28 15:03:32 +00:00