aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-08 16:29:16 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 12:18:59 +0000
commitdb3fe9b03f295ee36502052d82057e867afc39df (patch)
tree074cd43a6070010e4af15565fe2d8a0aa72f3694
parentefreetd - warn - expand buffer to avoid truncation by snprintf (diff)
downloadefl-db3fe9b03f295ee36502052d82057e867afc39df.tar.gz
efreet mime cache - expand buffer to avoid truncation by snprintf
-rw-r--r--src/bin/efreet/efreet_mime_cache_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/efreet/efreet_mime_cache_create.c b/src/bin/efreet/efreet_mime_cache_create.c
index 7e45a5fa28..b179316677 100644
--- a/src/bin/efreet/efreet_mime_cache_create.c
+++ b/src/bin/efreet/efreet_mime_cache_create.c
@@ -224,7 +224,7 @@ find_off(const char *str, Eina_List *strlist, Eina_List *offlist)
static void
store_cache(const char *out)
{
- char buf[PATH_MAX];
+ char buf[PATH_MAX + 128];
FILE *f;
size_t mimes_str_len = 0;
size_t extn_mimes_str_len = 0;