提交 2870ac5e 编写于 作者: B Behdad Esfahbod

[HB] Add missing sanitize

上级 b28815c1
......@@ -176,6 +176,7 @@ struct OpenTypeFontFile
bool sanitize (SANITIZE_ARG_DEF) {
SANITIZE_DEBUG ();
if (!SANITIZE_SELF ()) return false;
switch (tag) {
default: return true;
case TrueTypeTag: case CFFTag: return SANITIZE_THIS (CAST (OffsetTable, *this, 0));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册