未验证 提交 f95324a3 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

Merge pull request #1457 from harfbuzz/cff-varstore-sanitize

[CFF] oss-fuzz issue 11713 (CFF2VariationStore::serialize)
...@@ -115,7 +115,7 @@ struct CFF2VariationStore ...@@ -115,7 +115,7 @@ struct CFF2VariationStore
inline bool sanitize (hb_sanitize_context_t *c) const inline bool sanitize (hb_sanitize_context_t *c) const
{ {
TRACE_SANITIZE (this); TRACE_SANITIZE (this);
return_trace (likely (c->check_struct (this)) && varStore.sanitize (c)); return_trace (likely (c->check_struct (this)) && c->check_range (&varStore, size) && varStore.sanitize (c));
} }
inline bool serialize (hb_serialize_context_t *c, const CFF2VariationStore *varStore) inline bool serialize (hb_serialize_context_t *c, const CFF2VariationStore *varStore)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册