inc size of name, max length names crash on addrecent due to buffer overflow

This commit is contained in:
Thomas 2022-03-24 22:46:43 +01:00
parent 5305783e1b
commit 9c801f9ab6

View file

@ -1276,7 +1276,7 @@ struct happyhour {
struct recent_player
{
int vnum; /* The ID number for this instance */
char name[MAX_NAME_LENGTH]; /* The char name of the player */
char name[MAX_NAME_LENGTH+1];/* The char name of the player */
bool new_player; /* Is this a new player? */
bool copyover_player; /* Is this a player that was on during the last copyover? */
time_t time; /* login time */