mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-17 02:35:52 +00:00
[GDEF] Fix null check
Fixes https://oss-fuzz.com/testcase-detail/5920994267889664
This commit is contained in:
parent
3f2401e2f1
commit
319a488b39
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ struct GDEF
|
|||
return v;
|
||||
|
||||
v = table->get_glyph_props (glyph);
|
||||
if (likely (table)) // Don't try setting if we are the null instance!
|
||||
if (likely (table.get_blob ())) // Don't try setting if we are the null instance!
|
||||
glyph_props_cache.set (glyph, v);
|
||||
|
||||
return v;
|
||||
|
|
Loading…
Add table
Reference in a new issue