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.15 17:44 "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. The crash occurs both in my Windows program and in utilities like tiffcp on Linux.

The crash occurs in tif_fax3.c, at either line 397:

             *lp++ = 0L;
or line 436:
           *lp++ = -1L;

The crash does not occur when using libtiff 3.4beta37, even though the tif_fax3.c file is effectively identical.

I haven't investigated this too deeply, in the hopes that someone may already know a simple fix. I placed several files that exhibit the problem at: http://home.mieweb.com/jason/testbed/tif/

I don't know (or really care) if those files are perfectly valid TIFFs, I just want to prevent a crash. Any help would be appreciated.

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