billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=4e619660e5ce4984918a92536dbf39d756d6014c

commit 4e619660e5ce4984918a92536dbf39d756d6014c
Author: Boris Faure <bill...@gmail.com>
Date:   Mon Jun 29 22:00:28 2020 +0200

    snap: bad use of sizeof()
---
 snap/local/efl-efreetd-search.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/snap/local/efl-efreetd-search.patch 
b/snap/local/efl-efreetd-search.patch
index 1ca0c2e..8b39f3e 100644
--- a/snap/local/efl-efreetd-search.patch
+++ b/snap/local/efl-efreetd-search.patch
@@ -50,7 +50,7 @@ index f859c630f0..f7d196ef6b 100644
 +     }
 +
 +error:
-+   snprintf(buf, sizeof(buf), PACKAGE_BIN_DIR "/efreetd");
++   snprintf(buf, PATH_MAX, PACKAGE_BIN_DIR "/efreetd");
 +}
 +
  static void

-- 


Reply via email to