History log of /libtiff-4.0.7/libtiff/ (Results 1 – 25 of 1327)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
884f973619-Nov-2016 Bob Friesenhahn <[email protected]>

* libtiff 4.0.7 released.

* configure.ac: Update for 4.0.7 release.

2c81e2ff18-Nov-2016 Bob Friesenhahn <[email protected]>

Cast away unused return value from snprintf() to possibly eliminate a compilation warning.

ca5b774b18-Nov-2016 Bob Friesenhahn <[email protected]>

* libtiff/tif_getimage.c: Fix some benign warnings which appear in
64-bit compilation under Microsoft Visual Studio of the form
"Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit
valu

* libtiff/tif_getimage.c: Fix some benign warnings which appear in
64-bit compilation under Microsoft Visual Studio of the form
"Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit
value. Results might not be an expected value.". Problem was
reported on November 16, 2016 on the tiff mailing list.

show more ...

6d055b4f16-Nov-2016 Even Rouault <[email protected]>

* libtiff/tif_dirread.c: in TIFFFetchNormalTag(), do not dereference
NULL pointer when values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII
access are 0-byte arrays.
Fixes http://bugzill

* libtiff/tif_dirread.c: in TIFFFetchNormalTag(), do not dereference
NULL pointer when values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII
access are 0-byte arrays.
Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2593 (regression introduced
by previous fix done on 2016-11-11 for CVE-2016-9297).
Reported by Henri Salo.

show more ...

17d6936412-Nov-2016 Even Rouault <[email protected]>

Fix typo in comment

56f3e29d11-Nov-2016 Even Rouault <[email protected]>

* libtiff/tif_aux.c: fix crash in TIFFVGetFieldDefaulted()
when requesting Predictor tag and that the zip/lzw codec is not
configured.
Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2591

9bddab5011-Nov-2016 Even Rouault <[email protected]>

* libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make sure that
values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII
access are null terminated, to avoid potential read outside buffer
i

* libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make sure that
values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII
access are null terminated, to avoid potential read outside buffer
in _TIFFPrintField().
Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2590

show more ...

1120426b11-Nov-2016 Even Rouault <[email protected]>

* libtiff/tif_dirread.c: reject images with OJPEG compression that
have no TileOffsets/StripOffsets tag, when OJPEG compression is
disabled. Prevent null pointer dereference in TIFFReadRawStrip1()
an

* libtiff/tif_dirread.c: reject images with OJPEG compression that
have no TileOffsets/StripOffsets tag, when OJPEG compression is
disabled. Prevent null pointer dereference in TIFFReadRawStrip1()
and other functions that expect td_stripbytecount to be non NULL.
Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2585

show more ...

a7abf0ba09-Nov-2016 Even Rouault <[email protected]>

* libtiff/tif_strip.c: make TIFFNumberOfStrips() return the td->td_nstrips
value when it is non-zero, instead of recomputing it. This is needed in
TIFF_STRIPCHOP mode where td_nstrips is modified. Fi

* libtiff/tif_strip.c: make TIFFNumberOfStrips() return the td->td_nstrips
value when it is non-zero, instead of recomputing it. This is needed in
TIFF_STRIPCHOP mode where td_nstrips is modified. Fixes a read outsize of
array in tiffsplit (or other utilities using TIFFNumberOfStrips()).
Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2587

show more ...

3f5f68e904-Nov-2016 Even Rouault <[email protected]>

* libtiff/tif_predic.c: fix memory leaks in error code paths added in
previous commit (fix for MSVR 35105)

a41c294c31-Oct-2016 Even Rouault <[email protected]>

* libtiff/tif_predict.h, libtiff/tif_predict.c:
Replace assertions by runtime checks to avoid assertions in debug mode,
or buffer overflows in release mode. Can happen when dealing with
unusual tile

* libtiff/tif_predict.h, libtiff/tif_predict.c:
Replace assertions by runtime checks to avoid assertions in debug mode,
or buffer overflows in release mode. Can happen when dealing with
unusual tile size like YCbCr with subsampling. Reported as MSVR 35105
by Axel Souchet & Vishal Chauhan from the MSRC Vulnerabilities & Mitigations
team.

show more ...

739dcd2825-Oct-2016 Even Rouault <[email protected]>

* libtiff/tif_dir.c: discard values of SMinSampleValue and
SMaxSampleValue when they have been read and the value of
SamplesPerPixel is changed afterwards (like when reading a
OJPEG compressed image

* libtiff/tif_dir.c: discard values of SMinSampleValue and
SMaxSampleValue when they have been read and the value of
SamplesPerPixel is changed afterwards (like when reading a
OJPEG compressed image with a missing SamplesPerPixel tag,
and whose photometric is RGB or YCbCr, forcing SamplesPerPixel
being 3). Otherwise when rewriting the directory (for example
with tiffset, we will expect 3 values whereas the array had been
allocated with just one), thus causing a out of bound read access.
Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2500
(CVE-2014-8127, duplicate: CVE-2016-3658)

* libtiff/tif_write.c: avoid null pointer dereference on td_stripoffset
when writing directory, if FIELD_STRIPOFFSETS was artificially set
for a hack case in OJPEG case.
Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2500
(CVE-2014-8127, duplicate: CVE-2016-3658)

show more ...

0c05834d25-Oct-2016 Even Rouault <[email protected]>

* tools/tiffinfo.c: fix out-of-bound read on some tiled images.
(http://bugzilla.maptools.org/show_bug.cgi?id=2517)

* libtiff/tif_compress.c: make TIFFNoDecode() return 0 to indicate an
error and ma

* tools/tiffinfo.c: fix out-of-bound read on some tiled images.
(http://bugzilla.maptools.org/show_bug.cgi?id=2517)

* libtiff/tif_compress.c: make TIFFNoDecode() return 0 to indicate an
error and make upper level read routines treat it accordingly.
(linked to the test case of http://bugzilla.maptools.org/show_bug.cgi?id=2517)

show more ...


/libtiff-4.0.7/ChangeLog
/libtiff-4.0.7/html/addingtags.html
/libtiff-4.0.7/html/bigtiffpr.html
/libtiff-4.0.7/html/contrib.html
/libtiff-4.0.7/html/document.html
/libtiff-4.0.7/html/images.html
/libtiff-4.0.7/html/index.html
/libtiff-4.0.7/html/internals.html
/libtiff-4.0.7/html/intro.html
/libtiff-4.0.7/html/libtiff.html
/libtiff-4.0.7/html/man/TIFFClose.3tiff.html
/libtiff-4.0.7/html/man/TIFFDataWidth.3tiff.html
/libtiff-4.0.7/html/man/TIFFError.3tiff.html
/libtiff-4.0.7/html/man/TIFFFieldDataType.3tiff.html
/libtiff-4.0.7/html/man/TIFFFieldName.3tiff.html
/libtiff-4.0.7/html/man/TIFFFieldPassCount.3tiff.html
/libtiff-4.0.7/html/man/TIFFFieldReadCount.3tiff.html
/libtiff-4.0.7/html/man/TIFFFieldTag.3tiff.html
/libtiff-4.0.7/html/man/TIFFFieldWriteCount.3tiff.html
/libtiff-4.0.7/html/man/TIFFFlush.3tiff.html
/libtiff-4.0.7/html/man/TIFFGetField.3tiff.html
/libtiff-4.0.7/html/man/TIFFRGBAImage.3tiff.html
/libtiff-4.0.7/html/man/TIFFReadDirectory.3tiff.html
/libtiff-4.0.7/html/man/TIFFReadEncodedStrip.3tiff.html
/libtiff-4.0.7/html/man/TIFFReadEncodedTile.3tiff.html
/libtiff-4.0.7/html/man/TIFFReadRGBAImage.3tiff.html
/libtiff-4.0.7/html/man/TIFFReadRGBAStrip.3tiff.html
/libtiff-4.0.7/html/man/TIFFReadRGBATile.3tiff.html
/libtiff-4.0.7/html/man/TIFFReadRawStrip.3tiff.html
/libtiff-4.0.7/html/man/TIFFReadRawTile.3tiff.html
/libtiff-4.0.7/html/man/TIFFReadScanline.3tiff.html
/libtiff-4.0.7/html/man/TIFFReadTile.3tiff.html
/libtiff-4.0.7/html/man/TIFFSetDirectory.3tiff.html
/libtiff-4.0.7/html/man/TIFFSetField.3tiff.html
/libtiff-4.0.7/html/man/TIFFWarning.3tiff.html
/libtiff-4.0.7/html/man/TIFFWriteDirectory.3tiff.html
/libtiff-4.0.7/html/man/TIFFWriteEncodedStrip.3tiff.html
/libtiff-4.0.7/html/man/TIFFWriteEncodedTile.3tiff.html
/libtiff-4.0.7/html/man/TIFFWriteRawStrip.3tiff.html
/libtiff-4.0.7/html/man/TIFFWriteRawTile.3tiff.html
/libtiff-4.0.7/html/man/TIFFWriteScanline.3tiff.html
/libtiff-4.0.7/html/man/TIFFWriteTile.3tiff.html
/libtiff-4.0.7/html/man/TIFFbuffer.3tiff.html
/libtiff-4.0.7/html/man/TIFFcodec.3tiff.html
/libtiff-4.0.7/html/man/TIFFcolor.3tiff.html
/libtiff-4.0.7/html/man/TIFFmemory.3tiff.html
/libtiff-4.0.7/html/man/TIFFsize.3tiff.html
/libtiff-4.0.7/html/man/TIFFstrip.3tiff.html
/libtiff-4.0.7/html/man/TIFFswab.3tiff.html
/libtiff-4.0.7/html/man/TIFFtile.3tiff.html
/libtiff-4.0.7/html/man/fax2ps.1.html
/libtiff-4.0.7/html/man/fax2tiff.1.html
/libtiff-4.0.7/html/man/pal2rgb.1.html
/libtiff-4.0.7/html/man/ppm2tiff.1.html
/libtiff-4.0.7/html/man/raw2tiff.1.html
/libtiff-4.0.7/html/man/rgb2ycbcr.1.html
/libtiff-4.0.7/html/man/thumbnail.1.html
/libtiff-4.0.7/html/man/tiff2bw.1.html
/libtiff-4.0.7/html/man/tiff2pdf.1.html
/libtiff-4.0.7/html/man/tiff2ps.1.html
/libtiff-4.0.7/html/man/tiff2rgba.1.html
/libtiff-4.0.7/html/man/tiffcmp.1.html
/libtiff-4.0.7/html/man/tiffcp.1.html
/libtiff-4.0.7/html/man/tiffcrop.1.html
/libtiff-4.0.7/html/man/tiffdither.1.html
/libtiff-4.0.7/html/man/tiffdump.1.html
/libtiff-4.0.7/html/man/tiffgt.1.html
/libtiff-4.0.7/html/man/tiffinfo.1.html
/libtiff-4.0.7/html/man/tiffmedian.1.html
/libtiff-4.0.7/html/man/tiffset.1.html
/libtiff-4.0.7/html/man/tiffsplit.1.html
/libtiff-4.0.7/html/misc.html
/libtiff-4.0.7/html/support.html
/libtiff-4.0.7/html/v3.4beta007.html
/libtiff-4.0.7/html/v3.4beta016.html
/libtiff-4.0.7/html/v3.4beta018.html
/libtiff-4.0.7/html/v3.4beta024.html
/libtiff-4.0.7/html/v3.4beta028.html
/libtiff-4.0.7/html/v3.4beta029.html
/libtiff-4.0.7/html/v3.4beta031.html
/libtiff-4.0.7/html/v3.4beta032.html
/libtiff-4.0.7/html/v3.4beta033.html
/libtiff-4.0.7/html/v3.4beta034.html
/libtiff-4.0.7/html/v3.4beta035.html
/libtiff-4.0.7/html/v3.4beta036.html
/libtiff-4.0.7/html/v3.5.1.html
/libtiff-4.0.7/html/v3.5.2.html
/libtiff-4.0.7/html/v3.5.3.html
/libtiff-4.0.7/html/v3.5.4.html
/libtiff-4.0.7/html/v3.5.5.html
/libtiff-4.0.7/html/v3.5.6-beta.html
/libtiff-4.0.7/html/v3.5.7.html
/libtiff-4.0.7/html/v3.6.0.html
/libtiff-4.0.7/html/v3.6.1.html
/libtiff-4.0.7/html/v3.7.0.html
/libtiff-4.0.7/html/v3.7.0alpha.html
/libtiff-4.0.7/html/v3.7.0beta.html
/libtiff-4.0.7/html/v3.7.0beta2.html
/libtiff-4.0.7/html/v3.7.1.html
/libtiff-4.0.7/html/v3.7.2.html
/libtiff-4.0.7/html/v3.7.3.html
/libtiff-4.0.7/html/v3.7.4.html
/libtiff-4.0.7/html/v3.8.0.html
/libtiff-4.0.7/html/v3.8.1.html
/libtiff-4.0.7/html/v3.8.2.html
/libtiff-4.0.7/html/v3.9.0.html
/libtiff-4.0.7/html/v3.9.0beta.html
/libtiff-4.0.7/html/v3.9.1.html
/libtiff-4.0.7/html/v3.9.2.html
/libtiff-4.0.7/html/v3.9.3.html
/libtiff-4.0.7/html/v3.9.4.html
/libtiff-4.0.7/html/v3.9.5.html
/libtiff-4.0.7/html/v4.0.0.html
/libtiff-4.0.7/html/v4.0.1.html
/libtiff-4.0.7/html/v4.0.2.html
/libtiff-4.0.7/html/v4.0.3.html
/libtiff-4.0.7/html/v4.0.4.html
/libtiff-4.0.7/html/v4.0.4beta.html
/libtiff-4.0.7/html/v4.0.5.html
/libtiff-4.0.7/html/v4.0.6.html
tif_compress.c
/libtiff-4.0.7/man/TIFFClose.3tiff
/libtiff-4.0.7/man/TIFFDataWidth.3tiff
/libtiff-4.0.7/man/TIFFError.3tiff
/libtiff-4.0.7/man/TIFFFieldDataType.3tiff
/libtiff-4.0.7/man/TIFFFieldName.3tiff
/libtiff-4.0.7/man/TIFFFieldPassCount.3tiff
/libtiff-4.0.7/man/TIFFFieldReadCount.3tiff
/libtiff-4.0.7/man/TIFFFieldTag.3tiff
/libtiff-4.0.7/man/TIFFFieldWriteCount.3tiff
/libtiff-4.0.7/man/TIFFFlush.3tiff
/libtiff-4.0.7/man/TIFFGetField.3tiff
/libtiff-4.0.7/man/TIFFRGBAImage.3tiff
/libtiff-4.0.7/man/TIFFReadDirectory.3tiff
/libtiff-4.0.7/man/TIFFReadEncodedStrip.3tiff
/libtiff-4.0.7/man/TIFFReadEncodedTile.3tiff
/libtiff-4.0.7/man/TIFFReadRGBAImage.3tiff
/libtiff-4.0.7/man/TIFFReadRGBAStrip.3tiff
/libtiff-4.0.7/man/TIFFReadRGBATile.3tiff
/libtiff-4.0.7/man/TIFFReadRawStrip.3tiff
/libtiff-4.0.7/man/TIFFReadRawTile.3tiff
/libtiff-4.0.7/man/TIFFReadScanline.3tiff
/libtiff-4.0.7/man/TIFFReadTile.3tiff
/libtiff-4.0.7/man/TIFFSetDirectory.3tiff
/libtiff-4.0.7/man/TIFFSetField.3tiff
/libtiff-4.0.7/man/TIFFWarning.3tiff
/libtiff-4.0.7/man/TIFFWriteDirectory.3tiff
/libtiff-4.0.7/man/TIFFWriteEncodedStrip.3tiff
/libtiff-4.0.7/man/TIFFWriteEncodedTile.3tiff
/libtiff-4.0.7/man/TIFFWriteRawStrip.3tiff
/libtiff-4.0.7/man/TIFFWriteRawTile.3tiff
/libtiff-4.0.7/man/TIFFWriteScanline.3tiff
/libtiff-4.0.7/man/TIFFWriteTile.3tiff
/libtiff-4.0.7/man/TIFFbuffer.3tiff
/libtiff-4.0.7/man/TIFFcodec.3tiff
/libtiff-4.0.7/man/TIFFcolor.3tiff
/libtiff-4.0.7/man/TIFFmemory.3tiff
/libtiff-4.0.7/man/TIFFsize.3tiff
/libtiff-4.0.7/man/TIFFstrip.3tiff
/libtiff-4.0.7/man/TIFFswab.3tiff
/libtiff-4.0.7/man/TIFFtile.3tiff
/libtiff-4.0.7/man/fax2ps.1
/libtiff-4.0.7/man/fax2tiff.1
/libtiff-4.0.7/man/libtiff.3tiff
/libtiff-4.0.7/man/pal2rgb.1
/libtiff-4.0.7/man/ppm2tiff.1
/libtiff-4.0.7/man/raw2tiff.1
/libtiff-4.0.7/man/rgb2ycbcr.1
/libtiff-4.0.7/man/thumbnail.1
/libtiff-4.0.7/man/tiff2bw.1
/libtiff-4.0.7/man/tiff2pdf.1
/libtiff-4.0.7/man/tiff2ps.1
/libtiff-4.0.7/man/tiff2rgba.1
/libtiff-4.0.7/man/tiffcmp.1
/libtiff-4.0.7/man/tiffcp.1
/libtiff-4.0.7/man/tiffcrop.1
/libtiff-4.0.7/man/tiffdither.1
/libtiff-4.0.7/man/tiffdump.1
/libtiff-4.0.7/man/tiffgt.1
/libtiff-4.0.7/man/tiffinfo.1
/libtiff-4.0.7/man/tiffmedian.1
/libtiff-4.0.7/man/tiffset.1
/libtiff-4.0.7/man/tiffsplit.1
/libtiff-4.0.7/tools/tiff2pdf.c
/libtiff-4.0.7/tools/tiffcp.c
/libtiff-4.0.7/tools/tiffcrop.c
/libtiff-4.0.7/tools/tiffinfo.c
65d7db0924-Sep-2016 Bob Friesenhahn <[email protected]>

* libtiff/tif_getimage.c (TIFFRGBAImageOK): Reject attempts to
read floating point images.

* libtiff/tif_predict.c (PredictorSetup): Enforce bits-per-sample
requirements of floating point predictor

* libtiff/tif_getimage.c (TIFFRGBAImageOK): Reject attempts to
read floating point images.

* libtiff/tif_predict.c (PredictorSetup): Enforce bits-per-sample
requirements of floating point predictor (3). Fixes CVE-2016-3622
"Divide By Zero in the tiff2rgba tool."

places where it isn't done currently, but it seems this patch is enough.

show more ...

edde1c5823-Sep-2016 Even Rouault <[email protected]>

* tools/tiffcrop.c: fix various out-of-bounds write vulnerabilities
in heap or stack allocated buffers. Reported as MSVR 35093,
MSVR 35096 and MSVR 35097. Discovered by Axel Souchet and Vishal
Chauha

* tools/tiffcrop.c: fix various out-of-bounds write vulnerabilities
in heap or stack allocated buffers. Reported as MSVR 35093,
MSVR 35096 and MSVR 35097. Discovered by Axel Souchet and Vishal
Chauhan from the MSRC Vulnerabilities & Mitigations team.
* tools/tiff2pdf.c: fix out-of-bounds write vulnerabilities in
heap allocate buffer in t2p_process_jpeg_strip(). Reported as MSVR
35098. Discovered by Axel Souchet and Vishal Chauhan from the MSRC
Vulnerabilities & Mitigations team.
* libtiff/tif_pixarlog.c: fix out-of-bounds write vulnerabilities
in heap allocated buffers. Reported as MSVR 35094. Discovered by
Axel Souchet and Vishal Chauhan from the MSRC Vulnerabilities &
Mitigations team.
* libtiff/tif_write.c: fix issue in error code path of TIFFFlushData1()
that didn't reset the tif_rawcc and tif_rawcp members. I'm not
completely sure if that could happen in practice outside of the odd
behaviour of t2p_seekproc() of tiff2pdf). The report points that a
better fix could be to check the return value of TIFFFlushData1() in
places where it isn't done currently, but it seems this patch is enough.
Reported as MSVR 35095. Discovered by Axel Souchet & Vishal Chauhan &
Suha Can from the MSRC Vulnerabilities & Mitigations team.

show more ...

b7ec5fe817-Sep-2016 Even Rouault <[email protected]>

* libtiff/tif_lzma.c: typo fix in comment

4fd5fe6704-Sep-2016 Even Rouault <[email protected]>

* libtiff/*.c: fix warnings raised by clang 3.9 -Wcomma

e85c35f503-Sep-2016 Even Rouault <[email protected]>

* libtiff/tif_dirwrite.c, libtiff/tif_color.c: fix warnings raised
by GCC 5 / clang -Wfloat-conversion

3318c65c02-Sep-2016 Even Rouault <[email protected]>

* libtiff/tif_dirwrite.c: fix warnings raised by GCC 5 -Wfloat-conversion

ee80566c15-Aug-2016 Even Rouault <[email protected]>

Fix signed vs unsigned comparison

a71b62bc15-Aug-2016 Even Rouault <[email protected]>

* libtiff/tif_pixarlog.c: Fix write buffer overflow in PixarLogEncode
if more input samples are provided than expected by PixarLogSetupEncode.
Idea based on libtiff-CVE-2016-3990.patch from
libtiff-4

* libtiff/tif_pixarlog.c: Fix write buffer overflow in PixarLogEncode
if more input samples are provided than expected by PixarLogSetupEncode.
Idea based on libtiff-CVE-2016-3990.patch from
libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro, but with different and
simpler check. (bugzilla #2544)


invalid tests that rejected valid files. (bugzilla #2545)

show more ...

febda23610-Jul-2016 Even Rouault <[email protected]>

* libtiff/tif_read.c: Fix out-of-bounds read on
memory-mapped files in TIFFReadRawStrip1() and TIFFReadRawTile1()
when stripoffset is beyond tmsize_t max value (reported by
Mathias Svensson)

b46aa51803-Jul-2016 Even Rouault <[email protected]>

* libtiff/tif_read.c: make TIFFReadEncodedStrip() and
TIFFReadEncodedTile() directly use user provided buffer when
no compression (and other conditions) to save a memcpy().

* libtiff/tif_write.c: ma

* libtiff/tif_read.c: make TIFFReadEncodedStrip() and
TIFFReadEncodedTile() directly use user provided buffer when
no compression (and other conditions) to save a memcpy().

* libtiff/tif_write.c: make TIFFWriteEncodedStrip() and
TIFFWriteEncodedTile() directly use user provided buffer when
no compression to save a memcpy().

show more ...

33c391ef01-Jul-2016 Even Rouault <[email protected]>

* libtiff/tif_luv.c: validate that for COMPRESSION_SGILOG and
PHOTOMETRIC_LOGL, there is only one sample per pixel. Avoid
potential invalid memory write on corrupted/unexpected images when
using the

* libtiff/tif_luv.c: validate that for COMPRESSION_SGILOG and
PHOTOMETRIC_LOGL, there is only one sample per pixel. Avoid
potential invalid memory write on corrupted/unexpected images when
using the TIFFRGBAImageBegin() interface (reported by
Clay Wood)

(CVE-2016-587)

show more ...

f8b7c3de28-Jun-2016 Even Rouault <[email protected]>

Fix warning about unsigned vs signed comparison

12345678910>>...54