Opened 22 months ago

Closed 22 months ago

Last modified 20 months ago

#18170 closed enhancement (fixed)

tiff-4.5.1

Reported by: Bruce Dubbs Owned by: Douglas R. Reno
Priority: normal Milestone: 12.0
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New point version.

Change History (4)

comment:1 by Douglas R. Reno, 22 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 22 months ago

Major changes
None

Software configuration changes

Definition of tags reformatted (clang-format off) for better
readability of tag comments in tiff.h and tif_dirinfo.c

Do not install libtiff-4.pc when tiff-install is reset.

Add versioninfo resource files for DLL and tools
compiled with Windows MSVC and MINGW.

Disable clang-formatting for tif_config.h.cmake.in and
tiffconf.h.cmake.in because sensitive for CMake scripts.

CMake: make WebP component name compatible with upstream ConfigWebP.cmake

CMake: make Findliblzma with upstream CMake config file

CMake: FindDeflate.cmake: fix several errors (:issue:526).

CMake: FindLERC.cmake: version string return added.

CMake: export TiffConfig.cmake and TiffConfigVersion.cmake files

CMake: fix export of INTERFACE_INCLUDE_DIRECTORIES

Library changes

New/improved functionalities:

Hardcode HOST_FILLORDER to FILLORDER_LSB2MSB and make 'H' flag of
:c:func:TIFFOpen to warn and an alias of FILLORDER_MSB2LSB.
:file:tif_lerc.c: use WORDS_BIGENDIAN instead of HOST_BIGENDIAN.

Optimize relative seeking within :c:func:TIFFSetDirectory
by using the learned list of IFD offsets.

Improve internal IFD offset and directory number map handling.

Behavior of :c:func:TIFFOpen  mode "r+" in the Windows implementation
adjusted to that of Linux.

API/ABI breaks:

None

Bug fixes:

TIFFDirectory td_fieldsset type changed from unsigned long, which can
be 32 or 64 bits, to uint32_t

tif_ojpeg.c: checking for division by zero

LZWDecode(): avoid crash when trying to read again from a strip whith
a missing end-of-information marker

Fixed runtime error: applying zero offset to null pointer
in :c:func:countInkNamesString.

Fixing crash in :c:func:TIFFUnlinkDirectory when called with
directory number zero ("TIFFUnlinkDirectory(0)") as well as fixing
incorrect behaviour when unlinking the first directory.

tif_luv: check and correct for NaN data in :c:func:uv_encode

:c:func:TIFFClose avoid NULL pointer dereferencing

tif_hash_set.c: include tif_hash_set.h after tif_config.h
to let a chance for GDAL symbol renaming trick.

Fax3: fix failure to decode some fax3 number_of_images
and add test for Fax3 decoding issues

:c:func:TIFFSetDirectory and :c:func:TIFFWriteDirectorySec
avoid harmless unsigned-integer-overflow

tif_ojpeg.c: fix :issue:554 by checking for division by zero
in OJPEGWriteHeaderInfo().

LZWDecode(): avoid crash when trying to read again from a strip whith
a missing end-of-information marker

Documentation

mention TIFFSetTagExtender() cannot add tags to custom directories.

manpage: add multi page TIFF and SubIFDs description and read / write example.

Tools changes

New/improved functionality:

None

Bug fixes:

tiffcrop: Consider error return of writeSelections()

tiffcrop: fix memory leak

tiffcrop: do not reuse input buffer for subsequent images

tiffcrop: Amend rotateImage() not to toggle the input
(main) image width and length parameters when only cropped image
sections are rotated. Remove buffptr from region structure
because never used.

tiffcrop: correctly update buffersize after rotateImage()

tiffcrop: added check for assumption on composite images.

tiffmedian: avoid zero num_colors

fax2ps: fix buffer overflow in qsort function pcompare

tiffset: get filesize to allocate only the required memory

tiffcrop: fix by considering error return of writeSelections().

tif_ovrcache.c: check :c:func:TIFFSetSubDirectory return value (CID 1524573).

comment:3 by Douglas R. Reno, 22 months ago

Resolution: fixed
Status: assignedclosed

comment:4 by Bruce Dubbs, 20 months ago

Milestone: 11.412.0

Milestone renamed

Note: See TracTickets for help on using tickets.