Fix undefined behavior in Indic dottedcircle

Chromium Issue 158998:	Conditional jump in harfbuzz-ng
http://code.google.com/p/chromium/issues/detail?id=158998
This commit is contained in:
Behdad Esfahbod 2012-11-15 10:36:43 -08:00
parent 1eb3e94fe9
commit f41dc2d35b
1 changed files with 1 additions and 1 deletions

View File

@ -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;