From fbca1c1c8336ca15e4965c403fd4aaa0245180af Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 14 Nov 2012 09:25:13 +0000 Subject: [PATCH] zero the window menu caption buffer SVN revision: 79272 --- src/bin/e_int_menus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_int_menus.c b/src/bin/e_int_menus.c index 7e6a012fe..4726f0fbe 100644 --- a/src/bin/e_int_menus.c +++ b/src/bin/e_int_menus.c @@ -1369,6 +1369,7 @@ _e_int_menus_clients_title_abbrv(const char *title) max_len = e_config->clientlist_max_caption_len; if (eina_unicode_utf8_get_len(title) <= max_len) return title; + memset(&abbv, 0, sizeof(abbv)); /* Advance to the end of the first half of the string. */ len = 0; for (len2 = (max_len / 2) ; len2 ; len2--)