Hello,
Thanks for preparing the release candidate!
I am seeing test failures with libtiff 4.7.2rc1 in my imagecodecs
package when reading CCITT Fax 3-compressed TIFF files that are missing
the StripByteCounts tag. The error message from libtiff is: "Invalid
strip byte count 0, strip 0".
These files are not TIFF-compliant, but they seem not uncommon, and
other libraries such as tifffile and Windows Imaging Component (WIC) can
read them. Examples include g3_1d_no_fill.TIF, g3_1d_no_fill2.TIF, and
g3_rle_longline_no_stripByteCounts.tif from
https://github.com/dragon66/icafe/tree/master/images.
I think the regression may be related to
"_TIFFGetStrileOffsetOrByteCountValue(): fix potential crash on
corrupted files when file opened in 'O' mode"
(https://gitlab.com/libtiff/libtiff/-/merge_requests/799), which checks
that StripOffsets and StripByteCounts have the same number of declared
entries.
I'm fine if libtiff decides to reject these files; I just wanted to
report the regression.
Christoph
On 6/22/2026 4:39 AM, Even Rouault via Tiff wrote:
Hi,
I've prepared a release candidate for libtiff v4.7.2:
- https://download.osgeo.org/libtiff/tiff-4.7.2rc1.tar.gz
- https://download.osgeo.org/libtiff/tiff-4.7.2rc1.tar.xz
- https://download.osgeo.org/libtiff/tiff-4.7.2rc1.zip
Release notes at https://libtiff.gitlab.io/libtiff/releases/v4.7.2.html
(when CI job will have refreshed it). Otherwise go to https://
gitlab.com/libtiff/libtiff/-/blob/master/doc/releases/v4.7.2.rst?
ref_type=heads
I'll call for a PSC vote later this week if no serious/blocking issues
are reported.
Thanks to all contributors.
Best regards,
Even
_______________________________________________
Tiff mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/tiff