projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c968869
)
fix attempt for oss-fuzz 11662 leak
author
Michiharu Ariza
<ariza@adobe.com>
Tue, 4 Dec 2018 17:58:48 +0000
(09:58 -0800)
committer
Michiharu Ariza
<ariza@adobe.com>
Tue, 4 Dec 2018 17:58:48 +0000
(09:58 -0800)
src/hb-ot-cff1-table.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-cff1-table.hh
b/src/hb-ot-cff1-table.hh
index
7bed263
..
4221bdd
100644
(file)
--- 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];