AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 2017

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2017.03.04 10:59 "started seeing breakage with libtiff", by <jcupitt@gmail.com>
2017.03.04 12:10 "Re: started seeing breakage with libtiff", by Even Rouault
2017.03.04 13:08 "Re: started seeing breakage with libtiff", by <jcupitt@gmail.com>
2017.03.04 18:51 "Re: started seeing breakage with libtiff", by <jcupitt@gmail.com>
2017.03.04 19:19 "Re: started seeing breakage with libtiff", by Bob Friesenhahn
2017.03.04 19:53 "Re: started seeing breakage with libtiff", by Even Rouault
2017.03.05 09:53 "Re: started seeing breakage with libtiff", by <jcupitt@gmail.com>
2017.03.06 15:29 "Re: started seeing breakage with libtiff", by Lee Howard
2017.03.06 15:46 "Re: started seeing breakage with libtiff", by Bob Friesenhahn
2017.03.06 15:59 "Re: started seeing breakage with libtiff", by Toby Thain
2017.03.06 16:26 "Re: started seeing breakage with libtiff", by Lee Howard

2017.03.04 12:10 "Re: started seeing breakage with libtiff", by Even Rouault

On samedi 4 mars 2017 10:59:05 CET jcupitt@gmail.com wrote:
> Hello everyone,
> 
> Overnight I've started seeing problems with libtiff. It seems this
> patch has just been rolled out to Ubuntu:
> 
> http://bugzilla.maptools.org/show_bug.cgi?id=2590
> 
> This issues a warning if some tags are not NULL-terminated. However,
> libtiff itself can write tags which are not NULL-terminated, for
> example:
> 
> $ tiffcp -c jpeg k2a.tif x.tif
> 
> (where k2a.tif is an old uncompressed RGB strip tif I had handy) works
> fine. However I now can't read it back without a warning:
> 
> $ tiffcp x.tif y.tif
> TIFFFetchNormalTag: Warning, ASCII value for tag "JPEGTables" does not
> end in null byte. Forcing it to be null.
> JPEGLib: Warning, Premature end of JPEG file.

I'm unable to reproduce with CVS HEAD. The warning about JPEGTables is weird, since this 
not supposed to be an ASCII tag.

> 
> This causes problems for some other libraries, such as openslide,
> which seem to treat libtiff warnings as fatal.
> 
> Has anyone looked into this? What would be the best fix here? It looks
> like libtiff perhaps shouldn't check null-termination on JPEGTables.
> 
> John
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com