aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 12:21:30 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 12:21:30 +0000
commit65e9ad0b0330bbba3030bfb873116f853fea893d (patch)
treee4c1fc9e14ef58aaee2199e82391f4b4f85dc400
parentefreet icon - move func into ifdef as only used if ifdef is true (diff)
downloadefl-65e9ad0b0330bbba3030bfb873116f853fea893d.tar.gz
efreet menu - fix truncation in snprintf to have bigger buffers
-rw-r--r--src/lib/efreet/efreet_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efreet/efreet_menu.c b/src/lib/efreet/efreet_menu.c
index ee98808695..06c2c418fb 100644
--- a/src/lib/efreet/efreet_menu.c
+++ b/src/lib/efreet/efreet_menu.c
@@ -1519,7 +1519,7 @@ efreet_menu_handle_default_merge_dirs(Efreet_Menu_Internal *parent, Efreet_Xml *
char path[PATH_MAX], *p = NULL;
const char *pp;
#ifndef STRICT_SPEC
- char parent_path[PATH_MAX];
+ char parent_path[PATH_MAX + PATH_MAX + 128];
#endif
if (!parent || !xml) return 0;