summaryrefslogtreecommitdiff
path: root/src/lib/efreet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-08 16:27:22 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 12:18:59 +0000
commit721b72ce878ff0fd779474ed132273b3acdff324 (patch)
tree949af748e9e35d36a7df5321c8b03c4c087ebb5e /src/lib/efreet
parent80d7f0b7c1b2816cc0e85661ea540df7df6d45ac (diff)
efreet trash - warn - expand buffer to avoid truncation by snprintf
Diffstat (limited to 'src/lib/efreet')
-rw-r--r--src/lib/efreet/efreet_trash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efreet/efreet_trash.c b/src/lib/efreet/efreet_trash.c
index 5d9fd25979..42a2acdd29 100644
--- a/src/lib/efreet/efreet_trash.c
+++ b/src/lib/efreet/efreet_trash.c
@@ -61,7 +61,7 @@ efreet_trash_shutdown(void)
61EAPI const char* 61EAPI const char*
62efreet_trash_dir_get(const char *file) 62efreet_trash_dir_get(const char *file)
63{ 63{
64 char buf[PATH_MAX]; 64 char buf[PATH_MAX + PATH_MAX + 128];
65 struct stat s_dest; 65 struct stat s_dest;
66 struct stat s_src; 66 struct stat s_src;
67 const char *trash_dir = NULL; 67 const char *trash_dir = NULL;