提交 39b4ef6f 编写于 作者: B Behdad Esfahbod

[kerx] Better sanitize tupleKerning

上级 14772da0
...@@ -53,7 +53,7 @@ kerxTupleKern (int value, ...@@ -53,7 +53,7 @@ kerxTupleKern (int value,
unsigned int offset = value; unsigned int offset = value;
const FWORD *pv = &StructAtOffset<FWORD> (base, offset); const FWORD *pv = &StructAtOffset<FWORD> (base, offset);
if (unlikely (!pv->sanitize (&c->sanitizer))) return 0; if (unlikely (!c->sanitizer.check_array (pv, tupleCount))) return 0;
return *pv; return *pv;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册