poppler/Gfx.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7cbabbf378cf5a9c0411558ff02b44dec2040ea1
Author: Carlos Garcia Campos <[EMAIL PROTECTED]>
Date:   Mon Dec 10 22:00:30 2007 +0100

    Fix a crash when marked content properties operator is not a dict.

diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index d2b3cb8..78bb640 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -4028,7 +4028,7 @@ void Gfx::opBeginMarkedContent(Object args[], int 
numArgs) {
     fflush(stdout);
   }
 
-  if(numArgs == 2) {
+  if(numArgs == 2 && args[1].isDict ()) {
     out->beginMarkedContent(args[0].getName(),args[1].getDict());
   } else {
     out->beginMarkedContent(args[0].getName());
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to