提交 12fffce1 编写于 作者: B Behdad Esfahbod

[aat] Sanitize classTable in StateTable

上级 e6263c71
...@@ -550,7 +550,8 @@ struct StateTable ...@@ -550,7 +550,8 @@ struct StateTable
unsigned int *num_entries_out = nullptr) const unsigned int *num_entries_out = nullptr) const
{ {
TRACE_SANITIZE (this); TRACE_SANITIZE (this);
if (unlikely (!c->check_struct (this))) return_trace (false); if (unlikely (!(c->check_struct (this) &&
classTable.sanitize (c, this)))) return_trace (false);
const HBUINT16 *states = (this+stateArrayTable).arrayZ; const HBUINT16 *states = (this+stateArrayTable).arrayZ;
const Entry<Extra> *entries = (this+entryTable).arrayZ; const Entry<Extra> *entries = (this+entryTable).arrayZ;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册