2000.03.15 17:44 "Some CCITT Group 3 TIFFs crash libtiff", by Jason Summers

2000.03.27 17:04 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Nalin Dahyabhai

Good news, I have worked out what the bug is. In the last few months the fax3 code was changed to handle files wider (or longer?) than 65536 pixels and part of this was converting the runs arrays from uint16 to uint32.

Turns out this change also broke fax2ps. The fix is trivial (below).

Cheers,

Nalin

================================================================================
--- tools/fax2ps.c      Mon Mar 27 11:44:08 2000
+++ tools/fax2ps.c      Mon Mar 27 11:44:35 2000
@@ -62,7 +62,7 @@
  * March 13-15, 1995.
  */
 static void
-printruns(unsigned char* buf, uint16* runs, uint16* erun, uint32 lastx)
+printruns(unsigned char* buf, uint32* runs, uint32* erun, uint32 lastx)
 {
     static struct {
   char white, black;