efreet trash - warn - expand buffer to avoid truncation by snprintf

This commit is contained in:
Carsten Haitzler 2018-11-08 16:27:22 +00:00
parent 80d7f0b7c1
commit 721b72ce87
1 changed files with 1 additions and 1 deletions

View File

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