AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.08.11 18:08 "[Tiff] over-read w/ libtiff 3.5.7 reading jpeg compressed image", by Mark Pilon
2005.08.11 18:16 "Re: [Tiff] over-read w/ libtiff 3.5.7 reading jpeg compressed image", by Bob Friesenhahn

2005.08.11 18:16 "Re: [Tiff] over-read w/ libtiff 3.5.7 reading jpeg compressed image", by Bob Friesenhahn

I'm trying to read a TIFF image w/ jpeg compression [tiffinfo below], alloc a buffer sufficient for 1 scan line; the read seems to read 16 lines, overrunning the buffer and the tif->tif_row count isn't correctly handled.

as I try to read row 1 after reading row 0, I get the "Compression algorithm does not support random access" message and later a SEGV.

The chance that bugs in libtiff 3.5.7 will be repaired is zero. That is because the current version of libtiff is 3.7.3 and the next version will be 3.7.4. Version 3.5.7 is exceedingly old.

So the first step is to update to 3.7.3 and see if the problem still occurs.

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