mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +01:00
fix shape-fuzzer failure
This commit is contained in:
1 parent
a333b0f717
commit
ff64652cf6
1 file changed
+1
@@ -1289,6 +1289,7 @@ struct cff1
|
||||
byte_str_t ustr = (*stringIndex)[sid - cff1_std_strings_length];
|
||||
gname.name = hb_bytes_t ((const char*)ustr.arrayZ, ustr.length);
|
||||
}
|
||||
if (unlikely (gname.name.arrayZ == nullptr)) { fini (); return; }
|
||||
glyph_names.push (gname);
|
||||
}
|
||||
glyph_names.qsort ();
|
||||
|
||||
Reference in new issue
Block a user