fixed FDSelect0::sanitize

This commit is contained in:
Michiharu Ariza 2018-07-30 15:27:20 -07:00
parent 9c4cadaef0
commit 8782f80cce
1 changed files with 1 additions and 0 deletions

View File

@ -243,6 +243,7 @@ struct FDSelect0 {
inline bool sanitize (hb_sanitize_context_t *c) const inline bool sanitize (hb_sanitize_context_t *c) const
{ {
TRACE_SANITIZE (this); TRACE_SANITIZE (this);
return_trace (likely (c->check_struct (this) && fds[c->get_num_glyphs () - 1].sanitize (c)));
} }
HBUINT8 fds[VAR]; HBUINT8 fds[VAR];