summaryrefslogtreecommitdiff
authorAlbert Astals Cid <aacid@kde.org>2010-09-21 18:03:19 (GMT)
committer Albert Astals Cid <aacid@kde.org>2010-09-21 18:03:19 (GMT)
commitbf2055088a3a2d3bb3d3c37d464954ec1a25771f (patch) (side-by-side diff)
tree1e94fcb73bbd9004ec5b741f5863f8ea7a903b1f
parente853106b58d6b4b0467dbd6436c9bb1cfbd372cf (diff)
downloadpoppler-bf2055088a3a2d3bb3d3c37d464954ec1a25771f.zip
poppler-bf2055088a3a2d3bb3d3c37d464954ec1a25771f.tar.gz
Properly initialize stack
Fixes crash in broken pdf provided by Joel Voss of Leviathan Security Group
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--poppler/Function.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/poppler/Function.cc b/poppler/Function.cc
index b7c23fe..b28ee3d 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);