fofi/FoFiTrueType.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 19eedc6fb693a62f305e13079501e3105f869f3c Author: Albert Astals Cid <[email protected]> Date: Sat Sep 30 11:12:31 2017 +0200 Fix crash in broken files Bug #103045 diff --git a/fofi/FoFiTrueType.cc b/fofi/FoFiTrueType.cc index 58f604aa..4495cb3b 100644 --- a/fofi/FoFiTrueType.cc +++ b/fofi/FoFiTrueType.cc @@ -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 "); _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
