Date: Mon, 28 Aug 2006 17:15:40 +0200 From: Mark Martinec <Mark.Martinec@ijs.si> To: ports@freebsd.org Subject: patch for port: graphics/libungif Message-ID: <200608281715.40646.Mark.Martinec@ijs.si>
next in thread | raw e-mail | index | archive | help
--Boundary-00=_ciw8EnxX7IFLlgf Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Please add the attached patch to graphics/libungif/files/ It fixes a segfault in the giftext utility during processing of gif files with no color map (or a broken map). The patch was provided by Christian Holler <decoder@own-hero.net> and comes with his FuzzyOcr plugin to SpamAssassin. The giftext utility became important to people using SpamAssassin plugin FuzzyOcr. Regards Mark --Boundary-00=_ciw8EnxX7IFLlgf Content-Type: text/x-diff; charset="us-ascii"; name="patch-giftext-segfault" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-giftext-segfault" --- util/giftext.c.orig Mon Oct 10 08:08:51 2005 +++ util/giftext.c Mon Aug 28 17:01:18 2006 @@ -136,5 +136,5 @@ printf("\tColorResolution = %d, BitsPerPixel = %d, BackGround = %d.\n", GifFile->SColorResolution, - GifFile->SColorMap->BitsPerPixel, + GifFile->SColorMap?GifFile->SColorMap->BitsPerPixel:0, GifFile->SBackGroundColor); if (GifFile->SColorMap) --Boundary-00=_ciw8EnxX7IFLlgf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608281715.40646.Mark.Martinec>