$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

--- 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
