Frank Warmerdam
7f67da5de1
add jpeg in tiff decode testing
2012-06-01 21:04:22 +00:00
Tom Lane
1358a916eb
Add self to committers list.
2012-06-01 18:43:21 +00:00
Frank Warmerdam
52e121504b
fix buffer overrun in JPEGDecodeRaw() with mixed up sampling
2012-06-01 01:30:55 +00:00
Frank Warmerdam
9184521f3f
make sure tif_rawdatasize is zeroed when tif_rawdata is freed/cleared
2012-06-01 00:55:09 +00:00
Frank Warmerdam
0dd52ae391
Add alpha grayscale image support to TIFFReadRGBAImage
2012-06-01 00:38:39 +00:00
Frank Warmerdam
79a2449b27
fix handling of tags in custom directories which happen to match standard tags but are defined differently in the custom dir
2012-05-30 04:58:13 +00:00
Frank Warmerdam
047f4120df
avoid inappropriate use of tif_rawdata when it is a pointer into mmaped file
2012-05-30 01:50:17 +00:00
Frank Warmerdam
bcc1656171
Allocate working buffer one word larger since we "forward accumulate" and overwrite the end by one word in at least some cases.
2012-05-24 23:21:45 +00:00
Frank Warmerdam
c6d8cdcf29
avoid accessing out of the lookup arrays for out of range inputs.
2012-05-24 05:25:14 +00:00
Frank Warmerdam
920688aac5
avoid uninitialized variable for degenerate files
2012-05-24 03:50:31 +00:00
Frank Warmerdam
dbfa4e6f60
if OJPEGWriteHeader() fails once do not bother trying again on the same image.
2012-05-24 03:15:18 +00:00
Frank Warmerdam
c073384446
make things more resilient in the face of files without stripbytecounts or stripoffsets or where loading these fails.
2012-05-24 02:43:51 +00:00
Frank Warmerdam
af47ad26e2
be careful about whether min/max values per singular or per sample
2012-05-24 02:29:06 +00:00
Frank Warmerdam
e54e9545a0
fix crash with odd 16bit count types for some custom fields
2012-05-24 01:40:24 +00:00
Frank Warmerdam
c634536376
avoid one byte past end of ink names reading in some cases
2012-05-24 01:03:37 +00:00
Bob Friesenhahn
b298ae255c
* man/TIFFGetField.3tiff: Correct the 'count' field type in the
...
example for how to retreive the value of unsupported tags.
2012-05-19 23:15:22 +00:00
Frank Warmerdam
f502a159f9
Fix size overflow (zdi-can-1221,CVE-2012-1173) care of Tom Lane @ Red Hat.
2012-04-06 16:46:31 +00:00
Frank Warmerdam
7017b048e1
note vs in topic and mailing list url
2012-04-06 16:45:55 +00:00
Frank Warmerdam
97a32305c9
new
2012-03-30 16:30:34 +00:00
Frank Warmerdam
7e03e5ccbd
Update to reference correct sample files.
2012-03-28 18:12:26 +00:00
Bob Friesenhahn
75b1743466
* libtiff 4.0.1 released.
2012-02-18 22:11:19 +00:00
Bob Friesenhahn
d766e7c5a0
* Update automake used to 1.11.3.
2012-02-18 21:58:02 +00:00
Bob Friesenhahn
7cbc7dce84
Record changes for libtiff 4.0.1
2012-02-18 21:53:27 +00:00
Bob Friesenhahn
7802e5ba91
Strip out antique instructions about unsupported build targets.
2012-02-18 21:36:31 +00:00
Bob Friesenhahn
c3d1b83b0d
* libtiff/tiffio.h: Use double-underbar syntax in GCC printf
...
attribute specification to lessen the risk of accidental macro
substitution. Patch from Vincent Torri.
2012-02-18 16:20:26 +00:00
Frank Warmerdam
b2a9c9542a
Clarify the fix applied for bug 1994 with a comment.
2012-02-01 02:24:47 +00:00
Frank Warmerdam
3bdfb317f4
adjustments for security/null pointer issues - I do not think any of them are real, but they make future security audits easier
2012-02-01 01:51:00 +00:00
Bob Friesenhahn
b326998fc2
* configure.ac: Add support for using library symbol versioning on
...
ELF systems with the GNU linker. Support is enabled via
--enable-ld-version-script. Disabled by default for now until
there is a decision for how to deploy a libtiff with versioned
symbols after libtiff 4.0.0 was already released.
2012-01-22 19:50:36 +00:00
Bob Friesenhahn
306ae2fb9f
* libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in
...
tif_win32.c. Patch by Edward Lam.
2011-12-22 17:07:57 +00:00
Bob Friesenhahn
d338f7fe22
* configure.ac: Add libtiff private dependency on -llzma for
...
pkg-config. Patch by Mark Brand.
Updated Automake to 1.11.2.
2011-12-22 17:03:48 +00:00
Bob Friesenhahn
f7b79dc7dc
Released libtiff 4.0.0.
2011-12-22 00:29:28 +00:00
Frank Warmerdam
20499fa9b1
more cautious testing of _TIFFFillStriles() results (gdal #4372 )
2011-12-09 03:29:10 +00:00
Frank Warmerdam
7d9fbf6d9d
fix crash with invalid files, strip chopping and deferred strile loading (gdal #4372 )
2011-12-08 05:48:39 +00:00
Frank Warmerdam
ee5c8c505e
fix error reporting when there is no tag information struct and name (gdal #4373 )
2011-12-08 05:43:26 +00:00
Bob Friesenhahn
ee7c87492b
* Update GNU libtool to 2.4.2.
2011-10-22 17:06:02 +00:00
Bob Friesenhahn
cae87ed58a
* tools/tiffsplit.c (tiffcp): TIFFGetField count field should be
...
uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe
Deroulers.
2011-10-22 17:03:00 +00:00
Bob Friesenhahn
b741f89f25
Add defines missing from VC configuration template.
2011-09-07 21:59:17 +00:00
Bob Friesenhahn
5d3e4d37fe
Use "codec" rather than "coded"
2011-08-02 14:09:43 +00:00
Frank Warmerdam
46f42f1c92
fix TIFFMergeFieldInfo typo.
2011-06-21 19:13:24 +00:00
Frank Warmerdam
63eb8b5578
restore TIFFMergeFieldInfo in libtiff.def ( #42 )
2011-06-21 16:43:26 +00:00
Bob Friesenhahn
c51502913d
* libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also
...
upon failure to allocate "resizeddata".
* tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for
allocation failure, not before.
2011-05-31 17:10:18 +00:00
Bob Friesenhahn
aacd29d141
* libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path
2011-05-31 17:05:07 +00:00
Bob Friesenhahn
d73e9e8b19
* tools/rgb2ycbcr.c (cvtRaster): unchecked malloc
2011-05-31 17:03:16 +00:00
Bob Friesenhahn
bd77483087
* libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark
...
NULL-deref and possible overflow
2011-05-31 17:00:03 +00:00
Bob Friesenhahn
e66a15f97e
* tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written"
2011-05-31 16:57:10 +00:00
Bob Friesenhahn
91b49a4539
* libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration
...
and set of otherwise unused local, data_is_empty.
2011-05-31 16:54:15 +00:00
Bob Friesenhahn
1e2aed2807
* libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]:
...
Diagnose out-of-memory failure and return 0 rather than
dereferencing NULL.
2011-05-31 16:51:50 +00:00
Frank Warmerdam
f8a3650a7c
improve error report with zero tag directories
2011-05-24 13:35:30 +00:00
Frank Warmerdam
9437f9db5a
restore TIFFMergeFieldInfo ( #2315 )
2011-05-17 00:21:17 +00:00
Frank Warmerdam
bb96a66b1d
remove use of memory.h, it is unneeded and does not exist everywhere
2011-05-08 00:44:18 +00:00