Fix buffer overflow in sendnameandcolor
This commit is contained in:
parent
ad387b52a8
commit
e2a3b1f3bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue