[sanitize] Revert some from c68a00b92e
That overflow check was already happening in arrayZ.sanitize().
This commit is contained in:
parent
6fe0d7d6e8
commit
25dee60977
|
@ -2516,9 +2516,7 @@ struct VarRegionList
|
|||
bool sanitize (hb_sanitize_context_t *c) const
|
||||
{
|
||||
TRACE_SANITIZE (this);
|
||||
return_trace (c->check_struct (this) &&
|
||||
!hb_unsigned_mul_overflows (axisCount * regionCount, VarRegionAxis::static_size) &&
|
||||
axesZ.sanitize (c, axisCount * regionCount));
|
||||
return_trace (c->check_struct (this) && axesZ.sanitize (c, axisCount * regionCount));
|
||||
}
|
||||
|
||||
bool serialize (hb_serialize_context_t *c, const VarRegionList *src, const hb_bimap_t ®ion_map)
|
||||
|
|
Loading…
Reference in New Issue