src/hb-ot-shape-complex-indic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f41dc2d35b23220d59d38990bb66f1cbd66a55b3 Author: Behdad Esfahbod <[email protected]> Date: Thu Nov 15 10:36:43 2012 -0800 Fix undefined behavior in Indic dottedcircle Chromium Issue 158998: Conditional jump in harfbuzz-ng http://code.google.com/p/chromium/issues/detail?id=158998 diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 324a04b..c5a23b6 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -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; _______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
