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

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/