提交 c4f4c0a2 编写于 作者: B Behdad Esfahbod

Fix indexing in unsafe-to-break marking for 'stch' feature

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4099
上级 822035ce
......@@ -560,7 +560,7 @@ apply_stch (const hb_ot_shape_plan_t *plan,
}
else
{
buffer->unsafe_to_break (context, end + 1);
buffer->unsafe_to_break (context, end);
hb_position_t x_offset = 0;
for (unsigned int k = end; k > start; k--)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册