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

Fix undefined behavior in Indic dottedcircle

Chromium Issue 158998:	Conditional jump in harfbuzz-ng
http://code.google.com/p/chromium/issues/detail?id=158998
上级 1eb3e94f
......@@ -872,7 +872,7 @@ insert_dotted_circles (const hb_ot_shape_plan_t *plan,
if (!font->get_glyph (0x25CC, 0, &dottedcircle_glyph))
return;
hb_glyph_info_t dottedcircle;
hb_glyph_info_t dottedcircle = {0};
dottedcircle.codepoint = 0x25CC;
set_indic_properties (dottedcircle);
dottedcircle.codepoint = dottedcircle_glyph;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册