From 01e53356f8dce887254f1deeabc825a5c597fd7a Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Tue, 12 Apr 2016 14:22:20 +0900 Subject: [PATCH] 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 2a6e215d7..d8c7ec848 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");