hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8198345e1f703e15bbd7b35cd0056285a25c9071

commit 8198345e1f703e15bbd7b35cd0056285a25c9071
Author: Woochanlee <wc0917....@samsung.com>
Date:   Tue Sep 1 21:02:57 2020 +0900

    edje_cc: Fix uninitialized scalar variable
    
    Summary:
    mo_path can using for fprintf in using_file function without initialize.
    fix coverity.
    
    Reviewers: Hermet, raster
    
    Reviewed By: Hermet
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D12120
---
 src/bin/edje/edje_cc_out.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index d5060bbf5c..c2bfb82fd1 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -1717,7 +1717,7 @@ data_thread_mo(void *data, Ecore_Thread *thread 
EINA_UNUSED)
    Eina_List *ll;
 
    char *dir_path = NULL;
-   char mo_path[PATH_MAX];
+   char mo_path[PATH_MAX] = {0};
    char moid_str[50];
    Eina_File *f = NULL;
    void *m = NULL;

-- 


Reply via email to