Fix buffer overflow in sendnameandcolor

This commit is contained in:
NepDisk 2025-07-25 21:45:05 -04:00
parent ad387b52a8
commit e2a3b1f3bb

View file

@ -1644,7 +1644,7 @@ static void SendNameAndColor(UINT8 n)
const INT32 playernum = g_localplayers[n];
player_t *player = &players[playernum];
char buf[MAXPLAYERNAME+9];
char buf[MAXPLAYERNAME+12];
char *p;
if (splitscreen < n)