Commit 4a9bdd30 authored by Albert Astals Cid's avatar Albert Astals Cid

initialize len at 0 when reading the font fails

See bug 24525 for more info
parent c839b706
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment