---------- Forwarded message ----------
Date: Wed, 26 Jan 2005 16:19:22 -0500
From: Martin Otte
From: "Derek B. Noonburg"
Date: January 19, 2005 12:39:17 AM EST To: karl@freefriends.org Cc: Gerben.Wierda@rna.nl, frank@wizards.de, andrew@stone.com, otte@duke.edu Subject: Re: xpdf library bug? Reply-To: "Derek B. Noonburg" On 12 Jan, Karl Berry wrote:
Greetings,
The tex-live list got this bug report regarding the xpdf library. You can get the attachments from http://tug.org/pipermail/tex-live/2005-January/007617.html
Thanks, karl
Subject: pdflatex segmentation fault and patch to fix From: "Martin Otte"
Date: Tue, January 11, 2005 23:40 To: gerben.wierda@rna.nl Hi,
Thanks for your excellent packaging of tex/latex for the mac.
I am using the TeX Live 2004 and teTeX 3 distribution from the tex i-package released on 2004/12/01.
With this i-package, pdflatex always seg-faults for me when I include pdf figures generated using the PStill postscript-to-pdf converter. These pdfs open fine with Acrobat and Preview. I downloaded the final TeX Live 2004 source package, compiled pdfetex, ran the executable under a debugger and found that pdflatex crashes in the xpdf library. I then verified that these pdf's also crash the xpdf viewer on my linux machine.
The crash occurs in the file libs/xpdf/fofi/FoFiType1.cc. There is a string buffer size variable "n" that becomes negative and causes the program to crash. I attached a patch that can be used from the libs directory of the TeX Live distribution that prevents the buffer size from becoming negative.
That's a known bug in Xpdf 3.00. I'm attaching a patch file which should fix it.
- Derek
participants (1)
-
Hartmut Henkel