Red Hat Bugzilla – Bug 106056
fax2ps gets stuck in endless loop
Last modified: 2007-04-18 12:58:03 EDT
Description of problem:
With some malformed tiff files, fax2ps can get stuck in an endless loop. It
happens quite often in our hylafax server (about every couple of hours).
Running fax2ps with gdb shows that it is stuck in a loop at faxps.c:86. In the
cases where runlength=-1, this loop can never end. I have a few broken tiff
files that I can e-mail privately if they are needed. I have a (maybe naive)
patch to the problem too that I'll try and attach here.
I submitted both bug and patch to libtiff.
Version-Release number of selected component (if applicable):
up to 3.5.7-12
Every time when feeding broken tif to fax2ps
About every two hours in our fax server.
Steps to Reproduce:
1. fax2ps test.tif
fax2ps never stops
Created attachment 94876 [details]
My patch has been submitted and accepted upstream
(http://bugzilla.remotesensing.org/show_bug.cgi?id=404) quite some
time ago. Is there any plans on either using libtiff 3.6.1 or applying
the proposed patch to your RPMs? It's quite trivial and I've been
testing it on a very busy hylafax server for over half a year now.
libtiff 3.6.1 will be in FC3/RHEL4