mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
Add +1 to NUL terminate after MAXLOGNAME
This commit is contained in:
parent
c3e7a0efd1
commit
7c66c05d49
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23303
@ -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