Commit 19eedc6f authored by Albert Astals Cid's avatar Albert Astals Cid

Fix crash in broken files

Bug #103045
parent 5df4a8b0
......@@ -451,7 +451,7 @@ int FoFiTrueType::mapNameToGID(char *name) {
GBool FoFiTrueType::getCFFBlock(char **start, int *length) {
int i;
if (!openTypeCFF) {
if (!openTypeCFF || !tables) {
return gFalse;
}
i = seekTable("CFF ");
......
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