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

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2009

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

2009.08.28 01:32 "tiff 3.9.0 writes bad files", by Bob Friesenhahn
2009.08.28 02:09 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn
2009.08.28 03:13 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn
2009.08.30 07:09 "Re: tiff 3.9.0 writes bad files", by Andreas Kleinert
2009.08.30 16:06 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn
2009.08.28 03:23 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn
2009.08.28 04:11 "Re: tiff 3.9.0 writes bad files", by Lee Howard
2009.08.28 04:22 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn

2009.08.28 02:09 "Re: tiff 3.9.0 writes bad files", by Bob Friesenhahn

Libtiff 3.9.0 is definitely botched.  It was broken by a cast that I 
added to the code on the day of the release.  This is the patch needed 
to resolve the problem.   In the mean time I will create a fixed 
release.

Index: tif_write.c
===================================================================
RCS file: /cvs/maptools/cvsroot/libtiff/libtiff/tif_write.c,v
retrieving revision 1.22.2.3
diff -u -r1.22.2.3 tif_write.c
--- tif_write.c	20 Aug 2009 20:23:52 -0000	1.22.2.3
+++ tif_write.c	28 Aug 2009 02:07:19 -0000
@@ -1,4 +1,4 @@
-/* $Id: tif_write.c,v 1.22.2.3 2009-08-20 20:23:52 bfriesen Exp $ */
+/* $Id: tif_write.c,v 1.22.2.2 2009-06-03 23:49:30 fwarmerdam Exp $ */

  /*
   * Copyright (c) 1988-1997 Sam Leffler
@@ -630,7 +630,7 @@

              if( td->td_stripbytecount[strip] != 0
                  && td->td_stripoffset[strip] != 0 
-                && (tsize_t) td->td_stripbytecount[strip] >= cc )
+                && td->td_stripbytecount[strip] >= cc )
              {
                  /*
                   * There is already tile data on disk, and the new tile

--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/