[poppler] poppler/Form.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Fri Jun 26 10:33:11 PDT 2009
poppler/Form.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 0a1b41ff6de5a41e3450ecbcb1ba754dc06c29d9
Author: Albert Astals Cid <aacid at kde.org>
Date: Fri Jun 26 19:31:22 2009 +0200
Do not crash when we can't find onStr
Fixes crash in bug #22485
Not sure this is the best solution, but Adobe doesn't even open the file
diff --git a/poppler/Form.cc b/poppler/Form.cc
index 6e88937..48c2583 100644
--- a/poppler/Form.cc
+++ b/poppler/Form.cc
@@ -266,6 +266,7 @@ void FormWidgetButton::loadDefaults ()
//We didn't found the "on" state for the button
if (!onStr) {
error(-1, "FormWidgetButton:: unable to find the on state for the button\n");
+ onStr = new GooString(""); // TODO is this the best solution?
}
}
More information about the poppler
mailing list