discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=1cb85fbe26f6c3725502da5fed259a4cd63ae33e

commit 1cb85fbe26f6c3725502da5fed259a4cd63ae33e
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Aug 25 14:47:05 2017 -0400

    initialize stack variables
    
    CIDs 1379939, 1379943
---
 src/bin/e_intl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_intl.c b/src/bin/e_intl.c
index a4f3de82d..d714c56de 100644
--- a/src/bin/e_intl.c
+++ b/src/bin/e_intl.c
@@ -619,10 +619,10 @@ e_intl_locale_parts_get(const char *locale)
 {
    /* Parse Results */
    E_Locale_Parts *locale_parts;
-   char language[4];
+   char language[4] = {0};
    char territory[4] = {0};
-   char codeset[32];
-   char modifier[32];
+   char codeset[32] = {0};
+   char modifier[32] = {0};
 
    /* Parse State */
    int state = 0;   /* start out looking for the language */

-- 


Reply via email to