[poppler] poppler/GfxFont.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Thu Oct 22 12:28:34 PDT 2009
poppler/GfxFont.cc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 4a9bdd30dc353865685e03eb1c1ac6093797695a
Author: Albert Astals Cid <aacid at kde.org>
Date: Thu Oct 22 21:26:29 2009 +0200
initialize len at 0 when reading the font fails
See bug 24525 for more info
diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc
index 0866d88..f51c100 100644
--- a/poppler/GfxFont.cc
+++ b/poppler/GfxFont.cc
@@ -489,6 +489,7 @@ char *GfxFont::readEmbFontFile(XRef *xref, int *len) {
obj2.free();
obj1.free();
embFontID.num = -1;
+ *len = 0;
return NULL;
}
str = obj2.getStream();
More information about the poppler
mailing list