pkgsrc/graphics/kdegraphics3/patches/patch-ad

22 lines
580 B
Text

$NetBSD: patch-ad,v 1.8 2010/10/25 19:30:04 markd Exp $
Fix for CVE-2010-3702
--- kpdf/xpdf/xpdf/Gfx.cc.orig 2008-02-13 09:37:05.000000000 +0000
+++ kpdf/xpdf/xpdf/Gfx.cc
@@ -443,6 +443,7 @@ Gfx::Gfx(XRef *xrefA, OutputDev *outA, i
xref = xrefA;
subPage = gFalse;
+ parser = NULL;
printCommands = globalParams->getPrintCommands();
// start the resource stack
@@ -485,6 +486,7 @@ Gfx::Gfx(XRef *xrefA, OutputDev *outA, D
xref = xrefA;
subPage = gTrue;
+ parser=NULL;
printCommands = globalParams->getPrintCommands();
// start the resource stack