raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=01e53356f8dce887254f1deeabc825a5c597fd7a

commit 01e53356f8dce887254f1deeabc825a5c597fd7a
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Tue Apr 12 14:22:20 2016 +0900

    e intl - fix string buffer length size
    
    this intl code was broken using sizeof a pointer (sizef char *) vs
    size of the actual buffer used.
    
    @fix
---
 src/bin/e_intl.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bin/e_intl.c b/src/bin/e_intl.c
index 2a6e215..d8c7ec8 100644
--- a/src/bin/e_intl.c
+++ b/src/bin/e_intl.c
@@ -536,8 +536,7 @@ _e_intl_locale_alias_get(const char *language)
 {
    Eina_Hash *alias_hash;
    char *alias;
-   char llbuf[256];
-   char *lower_language = llbuf;
+   char lower_language[256];
 
    if ((!language) || (!strncmp(language, "POSIX", strlen("POSIX"))))
      return strdup("C");

-- 


Reply via email to