Files
pkgsrc-ng/print/xpdf/patches/patch-bc
2016-11-18 22:39:22 +01:00

24 lines
671 B
Plaintext

$NetBSD: patch-bc,v 1.3 2015/12/29 04:04:31 dholland Exp $
Fix for CVE-2010-3702
from http://www.openbsd.org/cgi-bin/cvsweb/ports/textproc/xpdf/patches/patch-xpdf_Gfx_cc.diff?r1=1.3;r2=1.4
--- xpdf/Gfx.cc.orig 2011-08-15 16:08:53.000000000 -0500
+++ xpdf/Gfx.cc 2011-10-26 20:58:54.318613900 -0500
@@ -469,6 +469,7 @@
doc = docA;
xref = doc->getXRef();
subPage = gFalse;
+ parser = NULL;
printCommands = globalParams->getPrintCommands();
// start the resource stack
@@ -516,6 +517,7 @@
doc = docA;
xref = doc->getXRef();
subPage = gTrue;
+ parser = NULL;
printCommands = globalParams->getPrintCommands();
// start the resource stack