forked from enlightenment/efl
efreet menu - fix truncation in snprintf to have bigger buffers
This commit is contained in:
parent
14d501d17b
commit
65e9ad0b03
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue