Add +1 to NUL terminate after MAXLOGNAME
This commit is contained in:
parent
1a6b00c680
commit
ec887a9df8
@ -279,7 +279,7 @@ int wear[NUMOFWORDS];
|
||||
char beenthere[NUMOFROOMS+1];
|
||||
char injuries[NUMOFINJURIES];
|
||||
|
||||
char uname[MAXLOGNAME];
|
||||
char uname[MAXLOGNAME+1];
|
||||
|
||||
struct wlist {
|
||||
char *string;
|
||||
|
Loading…
Reference in New Issue
Block a user