2012.10.19 07:23 "Re: [Tiff] Que: ZIPSetupDecode errorhandling", by Henk Jan Priester
On 10/18/2012 07:39 PM, Frank Warmerdam wrote:
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:
With a bad zlib and a libtiff without the patch:
- on Linux: the output for my testfiles is ZIPSetupDecode: (null) (239x)
- on Solaris: the crash reported at the begin of this thread.
With the tif_zip fix
- on Linux: the output for my testfiles is: ZIPSetupDecode: . (239x)
- on Solaris: the output is now the same as on Linux and the program
Thanks for making the fix.
> email@example.com <mailto:firstname.lastname@example.org>
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Software Developer