increase buffer size to avoid warnings

This commit is contained in:
computezrmle 2022-08-01 15:41:54 +02:00 committed by GitHub
parent 765d46dfb2
commit 0fd561aade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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