Even Rouault
ca70b5e702
tiff2rgba.c: fix -Wold-style-declaration warning
2020-10-03 18:16:27 +02:00
Thomas Bernard
02875964eb
tiff2rgba: output usage to stdout when using -h
...
also uses std C EXIT_FAILURE / EXIT_SUCCESS
see #17
2020-04-26 22:11:36 +02:00
Even Rouault
f0a54a4fa0
Remove all $Id and $Headers comments with CVS versions
2017-11-30 18:02:46 +01:00
Even Rouault
01bac25a5a
* tools/tiff2rgba.c: Fix integer overflow in size of allocated
...
buffer, when -b mode is enabled, that could result in out-of-bounds
write. Based initially on patch tiff-CVE-2016-3945.patch from
libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro, with correction for
invalid tests that rejected valid files.
2016-08-15 20:06:40 +00:00
Bob Friesenhahn
d21d2b3057
* libtiff/tif_config.vc.h: Make adjustments to match the new
...
definitions that configure produces, including for WIN64. Still
needs to be tested.
'lld' is not assured by the run-time DLLs and so GCC warns.
Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition
and printf format specifier to deal with printing values of
'size_t' type. In particular, this was necessary for WIN64.
Added a configure test for if the system headers provide 'optarg'
(normal case) and block out the many explicit 'extern' statements
in the utilities. This was found to be necessary under Windows
when getopt is in a DLL and the symbols are already imported with
dllimport via standard header files.
2015-06-21 01:09:09 +00:00
Bob Friesenhahn
f6fc518396
* tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip
...
was wrongly described. Fix suggested by Miguel Medalha.
2014-06-08 03:37:01 +00:00
Frank Warmerdam
91479f4d42
avoid leaks if TIFFRGBAImageBegin() fails ( #2295 )
2011-02-23 21:46:09 +00:00
Bob Friesenhahn
4e0d97f83c
* libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
...
that it is clearly a memory allocation error message, and also
includes the size of the allocation request.
2010-03-10 18:56:48 +00:00
Bob Friesenhahn
614f95d8b1
* tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
...
CVE-2009-2347 libtiff: integer overflows in various inter-color
space conversion tools".
http://bugzilla.maptools.org/show_bug.cgi?id=2079
2009-08-24 17:15:05 +00:00
Frank Warmerdam
3db9feb595
introduce libport.h prototypes to reduce warnings
2009-01-22 20:53:07 +00:00
Joris Van Damme
78faf04967
BigTIFF upgrade: tiff2rgba.c (last minute correction)
2007-06-13 14:21:59 +00:00
Joris Van Damme
140aefa242
BigTIFF upgrade: tiff2rgba.c
2007-06-13 14:14:03 +00:00
Andrey Kiselev
c0123c7895
This utility does not work properly on big-endian architectures. It was fixed
...
including the bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
2007-01-31 14:46:59 +00:00
Andrey Kiselev
7fd8cdbe99
Attempt to fix bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
2007-01-27 18:38:34 +00:00
Frank Warmerdam
2e43d3e0ab
removed extra newlines in usage message
2004-11-03 00:28:24 +00:00
Andrey Kiselev
0883c324fa
Avoid warnings.
2004-09-03 13:57:34 +00:00
Andrey Kiselev
c79429f4fe
Removed message about LZW patents.
2004-07-24 19:03:16 +00:00
Andrey Kiselev
cf7d2a38c4
Avoid warnings.
2004-06-04 13:46:25 +00:00
Andrey Kiselev
798d99bdbd
Switched to use TIFFReadRGBAImageOriented() instead of TIFFReadRGBAImage().
2003-10-03 11:22:29 +00:00
Andrey Kiselev
c26da71049
Added library version reporting to all tools.
2003-03-12 14:05:05 +00:00
Frank Warmerdam
7f12712234
fixed getopt so that -b works again
2001-08-11 03:13:59 +00:00
Frank Warmerdam
f84737906e
added -n flag
2001-06-13 15:24:37 +00:00
Mike Welles
c38ac53b1d
Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
...
Altered descriptions in tools to reflect "by default" lzw not supported
Updated index.html to note lzw compression kit.
1999-12-27 17:35:01 +00:00
Frank Warmerdam
05f6519dba
Made PACKBITS the default compression instead of LZW.
1999-12-04 20:48:27 +00:00
Frank Warmerdam
babc83e785
New
1999-08-16 17:46:08 +00:00