raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4bcfee0ef3f571ce627332bb26689d27ffcff388

commit 4bcfee0ef3f571ce627332bb26689d27ffcff388
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Dec 13 20:30:55 2013 +0900

    ecore - utils - makekeys - fix uniitialized arrays
    
    potential problem due to stak being filled or not. this fixes possible
    problems CID 1039547 and CID 1039546
---
 src/utils/ecore/makekeys.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/utils/ecore/makekeys.c b/src/utils/ecore/makekeys.c
index 5d8c979..69383af 100644
--- a/src/utils/ecore/makekeys.c
+++ b/src/utils/ecore/makekeys.c
@@ -59,9 +59,9 @@ main(int argc, char **argv)
    long unsigned int val;
    char key[128], prefix[128];
    char tab[TBLNUM];
-   unsigned short offsets[TBLNUM];
-   unsigned short indexes[TBLNUM];
-   long unsigned int values[TBLNUM];
+   unsigned short offsets[TBLNUM] = { 0 };
+   unsigned short indexes[TBLNUM] = { 0 };
+   long unsigned int values[TBLNUM] = { 0 };
    char buf[1024];
 
    for (l = 1; l < argc; l++) 

-- 


Reply via email to