AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.09.22 18:36 "[Tiff] Libtiff 3.9.7 released", by Bob Friesenhahn
2012.10.17 18:26 "Re: [Tiff] Que: ZIPSetupDecode errorhandling", by Henk Jan Priester
2012.10.17 17:23 "[Tiff] Que: ZIPSetupDecode errorhandling", by Henk Jan Priester
2012.10.17 17:35 "Re: [Tiff] Que: ZIPSetupDecode errorhandling", by Bob Friesenhahn
2012.10.17 17:54 "Re: [Tiff] Que: ZIPSetupDecode errorhandling", by Henk Jan Priester
2012.10.17 18:19 "Re: [Tiff] Que: ZIPSetupDecode errorhandling", by Bob Friesenhahn
2012.10.17 22:28 "Re: [Tiff] Que: ZIPSetupDecode errorhandling", by Graeme Gill
2012.10.18 08:09 "Re: [Tiff] Que: ZIPSetupDecode errorhandling", by Henk Jan Priester
2012.10.18 17:39 "Re: [Tiff] Que: ZIPSetupDecode errorhandling", by Frank Warmerdam
2012.10.19 07:23 "Re: [Tiff] Que: ZIPSetupDecode errorhandling", by Henk Jan Priester

2012.10.18 17:39 "Re: [Tiff] Que: ZIPSetupDecode errorhandling", by Frank Warmerdam

On Thu, Oct 18, 2012 at 1:09 AM, Henk Jan Priester <hjpriester@justcroft.com > wrote:

I have compiled and linked the program with the static version of zlib 1.2.7 and the problem is the same.

The inflateInit function returns an error and the stream.msg = NULL.

Henk,

Other points aside, if it is possible for zip to return stream.msg as NULL during errors, we had best guard against it. I've committed a change to tif_zip.c for this, but can't easiliy test it. Could you try:

  http://home.gdal.org/tmp/tif_zip.c

Best regards,

--
---------------------------------------+--------------------------------------

I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com

light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer