
Thread
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