File poppler-CVE-2010-3702.patch of Package poppler

Index: poppler-0.10.1/poppler/Gfx.cc
===================================================================
--- poppler-0.10.1.orig/poppler/Gfx.cc
+++ poppler-0.10.1/poppler/Gfx.cc
@@ -497,6 +497,7 @@ Gfx::Gfx(XRef *xrefA, OutputDev *outA, i
   printCommands = globalParams->getPrintCommands();
   profileCommands = globalParams->getProfileCommands();
   mcStack = NULL;
+  parser = NULL;
 
   // start the resource stack
   res = new GfxResources(xref, resDict, NULL);
@@ -541,6 +542,7 @@ Gfx::Gfx(XRef *xrefA, OutputDev *outA, D
   subPage = gTrue;
   printCommands = globalParams->getPrintCommands();
   mcStack = NULL;
+  parser = NULL;
 
   // start the resource stack
   res = new GfxResources(xref, resDict, NULL);
openSUSE Build Service is sponsored by