From 01f7f1c701622e8b5301ca53130ba5b0152f5fe9 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Mon, 29 Jun 2020 22:00:28 +0200 Subject: [PATCH] snap: bad use of sizeof() (cherry picked from commit 4e619660e5ce4984918a92536dbf39d756d6014c) --- 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 1ca0c2e4..8b39f3ec 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