seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=6affe851d7229d299c994ec91e4ca7822105ef58

commit 6affe851d7229d299c994ec91e4ca7822105ef58
Author: Daniel Juyung Seo <[email protected]>
Date:   Sun Apr 13 01:40:27 2014 +0900

    test_genlist: Initialize internal variable.
    
    This fixes coverity CID 1193249.
---
 src/bin/test_genlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c
index 10dbd94..14186a7 100644
--- a/src/bin/test_genlist.c
+++ b/src/bin/test_genlist.c
@@ -1023,7 +1023,7 @@ static Elm_Genlist_Item_Class itc5;
 char *gl5_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part)
 {
    const Testitem *tit = data;
-   char buf[256];
+   char buf[256] = { 0 };
    if (!strcmp(part, "elm.text"))
      {
         snprintf(buf, sizeof(buf), "Item mode %i", tit->mode);

-- 


Reply via email to