Pullup ticket #3587 - requested by tez
[pkgsrcv2.git] / print / xpdf / patches / patch-bc
1 $NetbBSD$
2
3 Fix for CVE-2010-3702
4 from http://www.openbsd.org/cgi-bin/cvsweb/ports/textproc/xpdf/patches/patch-xpdf_Gfx_cc.diff?r1=1.3;r2=1.4
5
6 --- xpdf/Gfx.cc.orig    2011-08-15 16:08:53.000000000 -0500
7 +++ xpdf/Gfx.cc 2011-10-26 20:58:54.318613900 -0500
8 @@ -469,6 +469,7 @@
9    doc = docA;
10    xref = doc->getXRef();
11    subPage = gFalse;
12 +  parser = NULL;
13    printCommands = globalParams->getPrintCommands();
14  
15    // start the resource stack
16 @@ -516,6 +517,7 @@
17    doc = docA;
18    xref = doc->getXRef();
19    subPage = gTrue;
20 +  parser = NULL;
21    printCommands = globalParams->getPrintCommands();
22  
23    // start the resource stack