[STAT] Fix sanitize condition

Oops!

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

No files matched your search

+1 -1
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)