From: Carsten Haitzler (Rasterman) Date: Wed, 2 Aug 2017 09:45:44 +0000 (+0900) Subject: epp - fix buffer size for possibly bigger int snpritnfs X-Git-Tag: upstream/1.20.0~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdadc30691eb0b48233751b2211f953d56ad8d58;p=platform%2Fupstream%2Fefl.git epp - fix buffer size for possibly bigger int snpritnfs 8 bytes wasn't enough for the full int range. use 12 and we're good. removes warning for sure @fix --- diff --git a/src/bin/edje/epp/cpplib.c b/src/bin/edje/epp/cpplib.c index 2f84c34..48c1969 100644 --- a/src/bin/edje/epp/cpplib.c +++ b/src/bin/edje/epp/cpplib.c @@ -2347,7 +2347,7 @@ special_symbol(HASHNODE * hp, cpp_reader * pfile) if (ip->fname) true_indepth++; - bufx = (char *)alloca(8); /* Eight bytes ought to be more than enough */ + bufx = (char *)alloca(12); // 12 bytes - more than enough sprintf(bufx, "%d", true_indepth - 1); buf = bufx; break;