2018.11.10 19:39 "[Tiff] Libtiff 4.0.10 is now available", by Bob Friesenhahn

2018.12.08 21:14 "Re: [Tiff] Zlib inflate recovery action required?", by Bob Friesenhahn

There is identical code in tif_zip.c at line 178. I have another file for which use of uninitialized data is reported in zlib and suspect that it is due to the same problem.

I did verify that if I comment out

     if (inflateSync(&sp->stream) != Z_OK)

and simply return an error (0) that both of my problatic test cases avoid subsequent use of initialized memory.

Is this solution ok?

Bob
--
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