forked from enlightenment/efl
efreet trash - warn - expand buffer to avoid truncation by snprintf
This commit is contained in:
parent
80d7f0b7c1
commit
721b72ce87
|
@ -61,7 +61,7 @@ efreet_trash_shutdown(void)
|
|||
EAPI const char*
|
||||
efreet_trash_dir_get(const char *file)
|
||||
{
|
||||
char buf[PATH_MAX];
|
||||
char buf[PATH_MAX + PATH_MAX + 128];
|
||||
struct stat s_dest;
|
||||
struct stat s_src;
|
||||
const char *trash_dir = NULL;
|
||||
|
|
Loading…
Reference in New Issue