From bf2055088a3a2d3bb3d3c37d464954ec1a25771f Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Tue, 21 Sep 2010 19:03:19 +0100 Subject: Properly initialize stack Fixes crash in broken pdf provided by Joel Voss of Leviathan Security Group --- poppler/Function.cc | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3