efreet mime cache - expand buffer to avoid truncation by snprintf

This commit is contained in:
Carsten Haitzler 2018-11-08 16:29:16 +00:00
parent 02105219a8
commit db3fe9b03f
1 changed files with 1 additions and 1 deletions

View File

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