[STAT] Fix sanitize condition

Oops!

Fixes https://oss-fuzz.com/testcase-detail/5696825891225600
This commit is contained in:
Behdad Esfahbod 2019-05-20 11:37:16 -04:00
parent e66eb21a46
commit 3efb7af7e2
2 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ struct AxisValue
bool sanitize (hb_sanitize_context_t *c) const
{
TRACE_SANITIZE (this);
if (unlikely (c->check_struct (this)))
if (unlikely (!c->check_struct (this)))
return_trace (false);
switch (u.format)