raster pushed a commit to branch master.

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

commit c76ea749c1c30599c31cd087c5c36f7d5819e6b0
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Nov 8 16:00:11 2018 +0000

    embryo_cc - warn - bigger buffer to avoid truncation warning
---
 src/bin/embryo/embryo_cc_sc2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/embryo/embryo_cc_sc2.c b/src/bin/embryo/embryo_cc_sc2.c
index c416ad1d15..2bd34b8f71 100644
--- a/src/bin/embryo/embryo_cc_sc2.c
+++ b/src/bin/embryo/embryo_cc_sc2.c
@@ -144,7 +144,7 @@ plungefile(char *name, int try_currentpath, int 
try_includepaths)
      {
        for (i = 0; !result && (ptr = get_path(i)); i++)
          {
-            char                path[PATH_MAX];
+            char                path[PATH_MAX + PATH_MAX + 128];
 
              snprintf(path, sizeof (path), "%s/%s", ptr, name);
             path[sizeof path - 1] = '\0';      /* force '\0' termination */

-- 


Reply via email to