Fix another sanitize bug

Also discovered by "libFuzzer".
This commit is contained in:
Behdad Esfahbod 2015-10-09 14:23:15 -04:00
parent 34379b49e6
commit ee9b0b6cb5

View File

@ -920,7 +920,7 @@ struct ArrayOf
inline bool sanitize_shallow (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) && c->check_array (this, Type::static_size, len));
return_trace (c->check_struct (this) && c->check_array (array, Type::static_size, len));
}
public: