From dc8cf306d9a153500682f8f39f4ea0a97f73a599 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sat, 3 Oct 2009 12:35:39 +0000 Subject: * (bug 3969) Fix overflow warnings in !showbans (Rezyn) --- src/game/g_admin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/g_admin.c') diff --git a/src/game/g_admin.c b/src/game/g_admin.c index ef523361..d7eae042 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -2388,8 +2388,8 @@ qboolean G_admin_showbans( gentity_t *ent, int skiparg ) char date[ 11 ]; char *made; int j, k; - char n1[ MAX_NAME_LENGTH ] = {""}; - char n2[ MAX_NAME_LENGTH ] = {""}; + char n1[ MAX_NAME_LENGTH * 2 ] = {""}; + char n2[ MAX_NAME_LENGTH * 2 ] = {""}; t = trap_RealTime( NULL ); -- cgit