diff --git a/src/hb-ot-cff1-table.hh b/src/hb-ot-cff1-table.hh index 7bed26360..4221bddfe 100644 --- a/src/hb-ot-cff1-table.hh +++ b/src/hb-ot-cff1-table.hh @@ -1093,6 +1093,7 @@ struct cff1 CFF1FontDict_Interpreter font_interp; font_interp.env.init (fontDictStr); font = fontDicts.push (); + if (font == &Crap(CFF1FontDictValues)) { fini (); return; } font->init (); if (unlikely (!font_interp.interpret (*font))) { fini (); return; } PRIVDICTVAL *priv = &privateDicts[i];