efreet menu - fix truncation in snprintf to have bigger buffers

This commit is contained in:
Carsten Haitzler 2018-11-09 12:21:30 +00:00
parent 14d501d17b
commit 65e9ad0b03
1 changed files with 1 additions and 1 deletions

View File

@ -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;