efreetd - warn - expand buffer to avoid truncation by snprintf

This commit is contained in:
Carsten Haitzler 2018-11-08 16:28:19 +00:00
parent 721b72ce87
commit 02105219a8
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ quit(void)
int
main(int argc, char *argv[])
{
char path[PATH_MAX], buf[PATH_MAX];
char path[PATH_MAX + 128], buf[PATH_MAX];
FILE *log;
int fd;
const char *log_file_dir = NULL;