poppler/poppler-0.15.0-CVE-2010-3702.patch
Marek Kasik b99c78bb0f Security bugfixes
Add poppler-0.15.0-CVE-2010-3702.patch
  (Properly initialize parser)
Add poppler-0.15.0-CVE-2010-3703.patch
  (Properly initialize stack)
Add poppler-0.15.0-CVE-2010-3704.patch
  (Fix crash in broken pdf (code < 0))
Resolves: #639861
2010-10-07 14:58:41 +02:00

19 lines
604 B
Diff

--- poppler-0.15.0/poppler/Gfx.cc 2010-09-12 23:44:11.000000000 +0200
+++ poppler-0.15.0/poppler/Gfx.cc 2010-10-07 12:44:51.000000000 +0200
@@ -536,6 +536,7 @@ Gfx::Gfx(XRef *xrefA, OutputDev *outA, i
drawText = gFalse;
maskHaveCSPattern = gFalse;
mcStack = NULL;
+ parser = NULL;
// start the resource stack
res = new GfxResources(xref, resDict, NULL);
@@ -590,6 +591,7 @@ Gfx::Gfx(XRef *xrefA, OutputDev *outA, D
drawText = gFalse;
maskHaveCSPattern = gFalse;
mcStack = NULL;
+ parser = NULL;
// start the resource stack
res = new GfxResources(xref, resDict, NULL);