[gvar] Remove sanitize check for data array
We are not checking in sanitize that offset array is ascending, so this check was bogus.
This commit is contained in:
parent
38478d1061
commit
9a6dabd61a
|
@ -393,9 +393,7 @@ struct gvar
|
|||
sharedTuples.sanitize (c, this, axisCount * sharedTupleCount) &&
|
||||
(is_long_offset () ?
|
||||
c->check_array (get_long_offset_array (), glyphCount+1) :
|
||||
c->check_array (get_short_offset_array (), glyphCount+1)) &&
|
||||
c->check_array (((const HBUINT8*)&(this+dataZ)) + get_offset (0),
|
||||
get_offset (glyphCount) - get_offset (0)));
|
||||
c->check_array (get_short_offset_array (), glyphCount+1)));
|
||||
}
|
||||
|
||||
/* GlyphVariationData not sanitized here; must be checked while accessing each glyph variation data */
|
||||
|
|
Loading…
Reference in New Issue