fix attempt for oss-fuzz 11662 leak
This commit is contained in:
parent
c968869f21
commit
9473463f5c
|
@ -1093,6 +1093,7 @@ struct cff1
|
||||||
CFF1FontDict_Interpreter font_interp;
|
CFF1FontDict_Interpreter font_interp;
|
||||||
font_interp.env.init (fontDictStr);
|
font_interp.env.init (fontDictStr);
|
||||||
font = fontDicts.push ();
|
font = fontDicts.push ();
|
||||||
|
if (font == &Crap(CFF1FontDictValues)) { fini (); return; }
|
||||||
font->init ();
|
font->init ();
|
||||||
if (unlikely (!font_interp.interpret (*font))) { fini (); return; }
|
if (unlikely (!font_interp.interpret (*font))) { fini (); return; }
|
||||||
PRIVDICTVAL *priv = &privateDicts[i];
|
PRIVDICTVAL *priv = &privateDicts[i];
|
||||||
|
|
Loading…
Reference in New Issue