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:03:19 +0100
commitbf2055088a3a2d3bb3d3c37d464954ec1a25771f (patch)
tree1e94fcb73bbd9004ec5b741f5863f8ea7a903b1f
parente853106b58d6b4b0467dbd6436c9bb1cfbd372cf (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);