From 0fd561aadea68e0c55f61ae20a32a8225cea8d66 Mon Sep 17 00:00:00 2001 From: computezrmle <57127745+computezrmle@users.noreply.github.com> Date: Mon, 1 Aug 2022 15:41:54 +0200 Subject: [PATCH] increase buffer size to avoid warnings --- client/sandbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/sandbox.cpp b/client/sandbox.cpp index bb9f231074..db4943e9c1 100644 --- a/client/sandbox.cpp +++ b/client/sandbox.cpp @@ -185,7 +185,7 @@ static int lookup_group(const char* name, gid_t& gid) { #endif int remove_project_owned_file_or_dir(const char* path) { - char cmd[1024]; + char cmd[5120]; if (g_use_sandbox) { snprintf(cmd, sizeof(cmd), "/bin/rm rm -fR \"%s\"", path);