devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=9adfc913e4b6bda4ae018112efe7af3f33c940d8

commit 9adfc913e4b6bda4ae018112efe7af3f33c940d8
Author: Christopher Michael <devilho...@comcast.net>
Date:   Thu Sep 17 12:15:38 2020 -0400

    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); \

-- 


Reply via email to