From 9adfc913e4b6bda4ae018112efe7af3f33c940d8 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Thu, 17 Sep 2020 12:15:38 -0400 Subject: [PATCH] e_utils: Increase tmpbuf allocated size Increase size of allocated tmpbuf in order to eliminate compiler warnings in regard to truncated strings --- src/bin/e_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_utils.h b/src/bin/e_utils.h index a1588c351..56a3ecbd9 100644 --- a/src/bin/e_utils.h +++ b/src/bin/e_utils.h @@ -6,7 +6,7 @@ #define e_util_dialog_show(title, args...) \ do { \ - char __tmpbuf[4096]; \ + char __tmpbuf[PATH_MAX + 256]; \ \ snprintf(__tmpbuf, sizeof(__tmpbuf), ##args); \ e_util_dialog_internal(title, __tmpbuf); \