Commit Graph

2322 Commits

Author SHA1 Message Date
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
Bob Friesenhahn
ed66fcdf7b * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
Berkenbilt for "Bug 2024 - possible null pointer dereference with
one-line fix".
http://bugzilla.maptools.org/show_bug.cgi?id=2024
2009-08-24 16:51:14 +00:00
Bob Friesenhahn
4dd4bbeccb * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
segfault after setting tdir_tag = IGNORE".
http://bugzilla.maptools.org/show_bug.cgi?id=1895
2009-08-24 16:43:40 +00:00
Bob Friesenhahn
d699d4fb3c Utilities which write to stdout needed more attention. 2009-08-24 15:48:00 +00:00
Bob Friesenhahn
2d29eb6b24 Add MEMCHECK to log messages so we can see that it is being applied. 2009-08-24 14:28:27 +00:00
Bob Friesenhahn
7492898195 Fix typo. 2009-08-24 02:55:05 +00:00
Bob Friesenhahn
044efd739c Prefix test commands with MEMCHECK 2009-08-23 23:24:21 +00:00
Bob Friesenhahn
b772c5a5d6 Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
added 'memcheck' and 'ptrcheck' targets to make it easy to run the
tests under valgrind.
2009-08-23 23:23:19 +00:00
Bob Friesenhahn
63e03ebcec tiffcrop.sh into a collection of many specific tests. Re-wrote
all of the existing tests to be based on some simple shell
functions.  Make distcheck works again.
2009-08-23 22:58:25 +00:00
Bob Friesenhahn
3237e5e177 * test/Makefile.am, test/tiffcrop*.sh: Split previously existing
tiffcrop.sh into a collection of many specific tests.
2009-08-23 20:19:40 +00:00
Bob Friesenhahn
b44da14dea Add start of XFAIL_TESTS 2009-08-22 01:45:32 +00:00
Bob Friesenhahn
9ebd845680 * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
build.
2009-08-21 18:00:07 +00:00
Bob Friesenhahn
38521145a6 * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
actually activated since it needed to be enabled in this
Makefile.am.  Also activated parallel-tests mode since it offers
useful features such as per-test .log files and a summary test
report .log file.
2009-08-21 16:52:14 +00:00
Bob Friesenhahn
8297307011 * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11,
libtool 2.2.6.  Enabled support for silent build rules
(--enable-silent-rules or 'make V=0') and colorized tests.

* html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
2009-08-20 22:57:38 +00:00
Frank Warmerdam
f4da7ed52e add -c sgilog to tiffcp, add minimal logluv testing 2009-06-30 17:25:26 +00:00
Frank Warmerdam
b6de229800 fix logluv encoderow return values (#2069) 2009-06-30 13:51:52 +00:00
Frank Warmerdam
54600ed574 back out patch from #2065 and apply patch from #1085 for a better underflow fix that errors properly. 2009-06-30 04:15:24 +00:00
Frank Warmerdam
1517c5cd8f Remove an inappropriate assertion that often fails on oddly sized 12bit
jpeg compressed ycbcr images.
2009-06-26 20:55:54 +00:00
Frank Warmerdam
38b61c3b62 fix MK1 compatability per Adam's suggestion 2009-06-23 18:56:46 +00:00
Frank Warmerdam
12d0b53f44 treat SOF1 like SOF0 when doing fixup subsamples 2009-06-23 18:46:48 +00:00
Frank Warmerdam
21816633ca Added tif_jpeg_12 2009-06-23 18:25:43 +00:00
Frank Warmerdam
73dee97814 fixed buffer underflow bug (#2065) 2009-06-22 04:47:12 +00:00
Frank Warmerdam
db1ab60dac add support for 8/12bit jpeg dual mode builds 2009-06-21 18:49:38 +00:00
Frank Warmerdam
e1250d538c New 2009-06-20 17:05:17 +00:00
Frank Warmerdam
5e895a5ce0 do not override planar config if set (#2057) 2009-06-03 23:47:22 +00:00
Frank Warmerdam
b4c7ba76a2 add TIFFUnsetField to .def file 2009-06-02 04:31:48 +00:00
Frank Warmerdam
56521d7ef1 Fixed various errors reports to use %s as format string (gdal #2976) 2009-05-03 14:29:36 +00:00
Frank Warmerdam
35128920f8 fix printdir chaining for some codecs. (#2020) 2009-03-13 02:02:51 +00:00
Frank Warmerdam
e76cfb0205 ensure multi-sample (such as grey+alpha) are handled via separate interface (#2006) 2009-02-13 21:28:58 +00:00
Frank Warmerdam
a042a8d460 added tiff2rgba tests 2009-02-13 21:26:03 +00:00
Frank Warmerdam
15760800eb fixed handling of tiled logluv images (#2005) 2009-02-12 18:06:17 +00:00
Frank Warmerdam
a62c54d6f8 improve tag buffer allocation safety (#1998) 2009-02-09 14:29:08 +00:00
Frank Warmerdam
5d40e67e89 avoid defaulting image->res_unit to INCH in loadImage() 2009-02-06 15:43:06 +00:00
Frank Warmerdam
21cfbd887b reincorporate sanity check on tag size at 2GB to avoid 32bit system overflow (#1993) 2009-02-05 20:13:44 +00:00
Frank Warmerdam
4d658090bb removed another assertion that fires on corrupt files 2009-02-05 19:50:01 +00:00
Frank Warmerdam
06ed150673 remove assertions blown for corrupt files (#1995) 2009-02-05 19:21:45 +00:00
Frank Warmerdam
0068fcf5ad fixed testing for failed TIFFReadDirectoryFindFieldInfo() results (#1992) 2009-02-05 16:07:59 +00:00
Frank Warmerdam
8b508c187b added 32bit horizontal predictor support (#1911) 2009-01-23 15:52:39 +00:00
Frank Warmerdam
22ca888e0f fix byte swapping of next directory offset (#1924) 2009-01-23 06:21:29 +00:00
Frank Warmerdam
e238751e2d initialize xres/yres values in case missing in file 2009-01-23 06:04:31 +00:00
Frank Warmerdam
6b1e83821b default srcdir to . in test scripts if not set 2009-01-23 05:37:18 +00:00
Frank Warmerdam
1c8edd0d0a turn verbose on after common setup 2009-01-23 05:32:37 +00:00
Frank Warmerdam
e8d869b64d initialize tv variable to avoid warning 2009-01-23 05:25:19 +00:00
Frank Warmerdam
12449fa7d5 avoid use of system lfind() due to type issues (#1889) 2009-01-23 05:10:39 +00:00
Frank Warmerdam
28c6aee9e4 ensure libport.h gets included in distribution 2009-01-22 21:52:54 +00:00
Frank Warmerdam
bb7dca71b3 include libport.h for getopt() prototype 2009-01-22 21:50:43 +00:00
Frank Warmerdam
46bac877c5 avoid 32/64bit casting warnings 2009-01-22 21:12:45 +00:00
Frank Warmerdam
c4c1a95ce4 fix ordering to avoid getopt redeclaration 2009-01-22 20:59:33 +00:00
Frank Warmerdam
4bed4d565f new 2009-01-22 20:54:45 +00:00
Frank Warmerdam
3db9feb595 introduce libport.h prototypes to reduce warnings 2009-01-22 20:53:07 +00:00