[poppler] Branch 'poppler-0.20' - poppler/GfxState.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Oct 2 16:22:17 PDT 2012


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

New commits:
commit 9451b7a61b6dcaa6c4a76f3efda82f1ebd408654
Author: Albert Astals Cid <aacid at kde.org>
Date:   Wed Oct 3 01:21:45 2012 +0200

    Fix crash when parsing some unknown colorspaces
    
    Can't do csObj->getName if csObj is a dict

diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc
index b21c2b0..b8cb007 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -312,7 +312,7 @@ GfxColorSpace *GfxColorSpace::parse(Object *csObj, Gfx *gfx, int recursion) {
     } else if (obj1.isName("DeviceCMYK")) {
       cs = new GfxDeviceCMYKColorSpace();
     } else {
-      error(errSyntaxWarning, -1, "Bad color space '{0:s}'", csObj->getName());
+      error(errSyntaxWarning, -1, "Bad color space dict'");
     }
     obj1.free();
   } else {


More information about the poppler mailing list