提交 ee9b0b6c 编写于 作者: B Behdad Esfahbod

Fix another sanitize bug

Also discovered by "libFuzzer".
上级 34379b49
...@@ -920,7 +920,7 @@ struct ArrayOf ...@@ -920,7 +920,7 @@ struct ArrayOf
inline bool sanitize_shallow (hb_sanitize_context_t *c) const inline bool sanitize_shallow (hb_sanitize_context_t *c) const
{ {
TRACE_SANITIZE (this); 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: public:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册