2019.01.22 15:11 "[Tiff] Possible bug in libTiff 4.0.9?", by SM

2019.01.23 14:14 "Re: [Tiff] Possible bug in libTiff 4.0.9?", by Bob Friesenhahn

The buffer that is being passed to the library is of the same size as the whole strip (even in the case of a partial strip). In case of a partial strip, the rest of the buffer is filled with zeros.

Does your application provide a full last-strip to libtiff? With JPEG, it has always been required that the strip-size be a multiple of 8 or 16, depending on the sub-sampling, with a multiple of 16 being a safe choice. The last strip provided to libtiff needs to be a full strip just like the other strips.

Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/

Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt