AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.03.15 17:44 "Some CCITT Group 3 TIFFs crash libtiff", by Jason Summers
2000.03.15 18:00 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Frank Warmerdam
2000.03.17 16:42 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Jason Summers
2000.03.17 18:34 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Frank Warmerdam
2000.03.27 17:04 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Nalin Dahyabhai
2000.03.28 18:14 "fax2ps incorrect BoundingBox", by Nalin Dahyabhai
2000.03.15 18:36 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Helge Blischke
2000.03.17 16:51 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Jason Summers
2000.03.17 17:24 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Peter Smith
2000.03.21 14:57 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Thad Humphries
2000.03.21 21:23 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Rick LaMont
2000.03.22 06:08 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Tom Lane

2000.03.17 16:42 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Jason Summers

I've encountered several CCITT Group 3-compressed TIFF images that cause programs compiled with libtiff 3.5.4 to crash with an IPF/segmentation fault.

I placed several files that exhibit the problem at: http://home.mieweb.com/jason/testbed/tif/

I think this is the same problem reported by a couple of other people. I have placed a modified tif_fax3.c at:

  http://gdal.velocet.ca/~warmerda/tif_fax3.c

This contains a patch to increase the size of the "runs" array by eight bytes, and this seems to avoid the problem. However, I was unable to establish a more appropriate patch. You can search for the word "Problem" to see my notes on the problem.

This patch is checked in CVS and will appear in the next libtiff release.

The problem that your patch addresses may well be related, but the patch doesn't seem to have any affect on my problem TIFFs. They crash just the same.

Is the frle_bug.tif file (referred to by the patch), or a similar file, available for testing purposes?

--
Jason Summers
jason@med-web.com http://home.mieweb.com/jason/