[poppler] poppler/Gfx.cc
Carlos Garcia Campos
carlosgc at kemper.freedesktop.org
Sun Nov 23 09:24:09 PST 2008
poppler/Gfx.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 12f6d6ba2052fbdc8ea4ba7c7c9277e75bf170a5
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date: Sun Nov 23 18:20:14 2008 +0100
Fix a crash when the second argument of opMarkPoint is not a dictionary
According to the spec "If any of the values are indirect references to
objects outside the content stream, the property list dictionary must
instead be defined as a named resource.
diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index 871feb3..20ec1bf 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -4254,7 +4254,7 @@ void Gfx::opMarkPoint(Object args[], int numArgs) {
fflush(stdout);
}
- if(numArgs == 2) {
+ if(numArgs == 2 && args[1].isDict()) {
out->markPoint(args[0].getName(),args[1].getDict());
} else {
out->markPoint(args[0].getName());
More information about the poppler
mailing list