From e6f442a4247ecf72239f7cdacdf4bcdfeed7d6fa Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 13 Jul 2024 09:36:09 +0300 Subject: [PATCH] Con_SafePrintf uses the same message size limit as the rest of console output functions --- Quake/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Quake/console.c b/Quake/console.c index 759c13a1d..d1ab0d829 100644 --- a/Quake/console.c +++ b/Quake/console.c @@ -625,7 +625,7 @@ Okay to call even when the screen can't be updated void Con_SafePrintf (const char *fmt, ...) { va_list argptr; - char msg[1024]; + char msg[MAXPRINTMSG]; int temp; va_start (argptr, fmt);