提交 5dfd6e07 编写于 作者: B Behdad Esfahbod

Fix sanitize or Context Rule

Fixes https://github.com/harfbuzz/harfbuzz/issues/1110
上级 20a11a82
......@@ -1267,7 +1267,7 @@ struct Rule
return_trace (inputCount.sanitize (c) &&
lookupCount.sanitize (c) &&
c->check_range (inputZ,
inputZ[0].static_size * inputCount +
inputZ[0].static_size * (inputCount ? inputCount - 1 : 0) +
LookupRecord::static_size * lookupCount));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册