mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-21 21:40:49 +02:00
inc size of name, max length names crash on addrecent due to buffer overflow
This commit is contained in:
parent
5305783e1b
commit
9c801f9ab6
1 changed files with 1 additions and 1 deletions
|
@ -1276,7 +1276,7 @@ struct happyhour {
|
||||||
struct recent_player
|
struct recent_player
|
||||||
{
|
{
|
||||||
int vnum; /* The ID number for this instance */
|
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 new_player; /* Is this a new player? */
|
||||||
bool copyover_player; /* Is this a player that was on during the last copyover? */
|
bool copyover_player; /* Is this a player that was on during the last copyover? */
|
||||||
time_t time; /* login time */
|
time_t time; /* login time */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue