From f41dc2d35b23220d59d38990bb66f1cbd66a55b3 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 15 Nov 2012 10:36:43 -0800 Subject: [PATCH] Fix undefined behavior in Indic dottedcircle Chromium Issue 158998: Conditional jump in harfbuzz-ng http://code.google.com/p/chromium/issues/detail?id=158998 --- src/hb-ot-shape-complex-indic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 324a04b94..c5a23b60e 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;