From b3a987ed15b2ef23418867d7bc35d6f36db6539a Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sun, 15 Sep 2019 10:41:33 +0100 Subject: [PATCH] ircd: Use a larger buffer for ilog() buf2 --- ircd/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/logger.c b/ircd/logger.c index 3b81acd7..71c45e71 100644 --- a/ircd/logger.c +++ b/ircd/logger.c @@ -168,7 +168,7 @@ ilog(ilogfile dest, const char *format, ...) { FILE *logfile = *log_table[dest].logfile; char buf[BUFSIZE]; - char buf2[BUFSIZE]; + char buf2[MAX_DATE_STRING + 1 + BUFSIZE + 1]; va_list args; if(logfile == NULL)