AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2018

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2018.12.08 20:43 "Zlib inflate recovery action required?", by Bob Friesenhahn
2018.12.08 21:14 "Re: Zlib inflate recovery action required?", by Bob Friesenhahn
2018.12.08 21:22 "Re: Zlib inflate recovery action required?", by Olivier Paquet
2018.12.08 21:29 "Re: Zlib inflate recovery action required?", by Even Rouault
2018.12.08 21:42 "Re: Zlib inflate recovery action required?", by Bob Friesenhahn
2018.12.08 22:03 "Re: Zlib inflate recovery action required?", by Toby Thain

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

On Sat, 8 Dec 2018, Bob Friesenhahn wrote:
> 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
_______________________________________________
Tiff mailing list
Tiff@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/tiff