2010-10-13 23:29:42 +02:00
|
|
|
$NetbBSD$
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2011-10-27 04:35:41 +02:00
|
|
|
--- 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();
|
2010-10-13 23:29:42 +02:00
|
|
|
subPage = gFalse;
|
|
|
|
+ parser = NULL;
|
|
|
|
printCommands = globalParams->getPrintCommands();
|
|
|
|
|
|
|
|
// start the resource stack
|
2011-10-27 04:35:41 +02:00
|
|
|
@@ -516,6 +517,7 @@
|
|
|
|
doc = docA;
|
|
|
|
xref = doc->getXRef();
|
2010-10-13 23:29:42 +02:00
|
|
|
subPage = gTrue;
|
|
|
|
+ parser = NULL;
|
|
|
|
printCommands = globalParams->getPrintCommands();
|
|
|
|
|
|
|
|
// start the resource stack
|