提交 3efb7af7 编写于 作者: B Behdad Esfahbod

[STAT] Fix sanitize condition

Oops!

Fixes https://oss-fuzz.com/testcase-detail/5696825891225600
上级 e66eb21a
...@@ -186,7 +186,7 @@ struct AxisValue ...@@ -186,7 +186,7 @@ struct AxisValue
bool sanitize (hb_sanitize_context_t *c) const bool sanitize (hb_sanitize_context_t *c) const
{ {
TRACE_SANITIZE (this); TRACE_SANITIZE (this);
if (unlikely (c->check_struct (this))) if (unlikely (!c->check_struct (this)))
return_trace (false); return_trace (false);
switch (u.format) switch (u.format)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册