# HG changeset patch # User eugeni # Date 1235776013 0 # Node ID 650f328addb798b57e192bc7421658b35fcec961 # Parent e3b5070f671de47c03985cda125654424e86b3ce Zero-fill glyph_info_t before use. Patch by Grigori G (greg chown ath cx). diff -r e3b5070f671d -r 650f328addb7 libass/ass_render.c --- a/libass/ass_render.c Fri Feb 27 23:06:50 2009 +0000 +++ b/libass/ass_render.c Fri Feb 27 23:06:53 2009 +0000 @@ -1310,7 +1310,7 @@ key.italic = render_context.italic; key.outline = render_context.border * 0xFFFF; - info->glyph = info->outline_glyph = 0; + memset(info, 0, sizeof(glyph_info_t)); val = cache_find_glyph(&key); if (val) {