summaryrefslogtreecommitdiff
path: root/print/xpdf/patches/patch-bc
blob: 7d629666fed798c31d23fa40d30a56e8c62967b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$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	2010-10-13 14:50:46.467717900 -0500
+++ xpdf/Gfx.cc	2010-10-13 15:01:30.882241300 -0500
@@ -443,6 +443,7 @@
 
   xref = xrefA;
   subPage = gFalse;
+  parser = NULL;
   printCommands = globalParams->getPrintCommands();
 
   // start the resource stack
@@ -485,6 +486,7 @@
 
   xref = xrefA;
   subPage = gTrue;
+  parser = NULL;
   printCommands = globalParams->getPrintCommands();
 
   // start the resource stack