summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2010-09-21 19:03:19 +0100
committerAlbert Astals Cid <aacid@kde.org>2010-09-21 19:24:19 +0100
commitfd881bdab112c4fbe9179727214834d1da42fa22 (patch)
tree69492442d0b71193d1dbddc174eb6a9b4a70f21d
parent01ff4c3915a08a147aed1fc0041407eab3b7eedd (diff)
Properly initialize stack
Fixes crash in broken pdf provided by Joel Voss of Leviathan Security Group
-rw-r--r--poppler/Function.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/poppler/Function.cc b/poppler/Function.cc
index b7c23fea..b28ee3df 100644
--- a/poppler/Function.cc
+++ b/poppler/Function.cc
@@ -1108,6 +1108,7 @@ PostScriptFunction::PostScriptFunction(Object *funcObj, Dict *dict) {
code = NULL;
codeString = NULL;
codeSize = 0;
+ stack = NULL;
ok = gFalse;
cache = new PopplerCache(5);