summaryrefslogtreecommitdiff
path: root/tools/thumbnail.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some typosStefan Weil2018-02-241-9/+9
| | | | | | Most of them were found by codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Fix all compiler warnings for default buildNathan Baker2018-02-041-8/+8
|
* Remove all $Id and $Headers comments with CVS versionsEven Rouault2017-11-301-2/+0
|
* * libtiff/tif_config.vc.h: Make adjustments to match the newBob Friesenhahn2015-06-211-1/+3
| | | | | | | | | | | | | | | 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.
* * tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMESEven Rouault2014-12-211-2/+2
| | | | | | copying. The right fix would be to properly copy it, but not worth the burden for those esoteric utilities. http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127)
* * tools/thumbnail.c: fix out-of-buffer writeEven Rouault2014-12-211-2/+8
| | | | http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128)
* * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONSEven Rouault2014-12-211-2/+21
| | | | | | or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or COMPRESSION_CCITTFAX4 http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128)
* tools/thumbnail.c, tools/tiffcrop.c: fix heap read over-run found with ↵Even Rouault2014-12-071-2/+7
| | | | Valgrind and Address Sanitizer on test suite
* Fix the count for WhitePoint tag as per bugAndrey Kiselev2010-07-021-2/+2
| | | | http://bugzilla.maptools.org/show_bug.cgi?id=2042
* * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message soBob Friesenhahn2010-03-101-1/+8
| | | | | that it is clearly a memory allocation error message, and also includes the size of the allocation request.
* avoid 32/64bit casting warningsFrank Warmerdam2009-01-221-9/+9
|
* introduce libport.h prototypes to reduce warningsFrank Warmerdam2009-01-221-1/+5
|
* * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and lengthBob Friesenhahn2008-12-311-5/+5
| | | | | | tags now require 64-bit parameter rather than 32-bit. * libtiff/tif_dirread.c: Fixed issues with unaligned access to 64-bit values.
* * tools/thumbnail.c: Eliminate crash noticed while running testBob Friesenhahn2008-12-301-4/+18
| | | | suite.
* fix some coverity reported problemsFrank Warmerdam2008-05-231-1/+3
|
* Avoid warnings.Andrey Kiselev2005-06-231-3/+3
|
* Avoid warnings.Andrey Kiselev2004-11-281-5/+8
|
* Check the malloc results.Andrey Kiselev2004-11-131-16/+40
|
* Avoid warnings.Andrey Kiselev2004-09-031-31/+62
|
* Avoid warnings.Andrey Kiselev2004-06-041-12/+12
|
* Memory leak fixed as reported by Robert S. Kissel.Andrey Kiselev2003-07-031-2/+3
|
* Added library version reporting to all tools.Andrey Kiselev2003-03-121-1/+2
|
* Changed define output compression to PACKBITS since LZW isn't generallyFrank Warmerdam2001-05-131-2/+2
| | | | available.
* Initial revisionMike Welles1999-07-271-0/+572