2020.12.01 20:44 "[Tiff] Question about difference in TIFFReadEncodedStrip behavior between libtiff versions", by Nalini Vishnoi

2020.12.08 21:04 "Re: [Tiff] Question about difference in TIFFReadEncodedStrip behavior between libtiff versions", by Even Rouault

Thanks for your help and for submitting a fix promptly.

I agree that the file is pretty broken as a number of tools (not using libtiff) were unable to read the file as well.

I was curious about the behavior change between different versions of libtiff - whether it was a result of implementing the standards more strictly or an unintentional change.

Was linked to a hardening in the library code to avoid potentially arbitrary RAM allocation on broken files that would declare StripByteCount/StripOffsets tag with millions of entries where the file is actually very small, but it accidentally broke for the very particular case of your broken file :-)

Spatialys - Geospatial professional services
http://www.spatialys.com