diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-03-02 21:52:02 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-03-02 21:52:02 +0000 |
commit | 7c66c05d49621e83e505ec6c3bb70a31a6b2aa00 (patch) | |
tree | 930de90f295e9571f3bcf82274beba65b3d8ec69 /games/battlestar | |
parent | c3e7a0efd17f694e4b35de1e9a3a18bd212519a9 (diff) | |
download | src-7c66c05d49621e83e505ec6c3bb70a31a6b2aa00.tar.gz src-7c66c05d49621e83e505ec6c3bb70a31a6b2aa00.zip |
Add +1 to NUL terminate after MAXLOGNAME
Notes
Notes:
svn path=/head/; revision=23303
Diffstat (limited to 'games/battlestar')
-rw-r--r-- | games/battlestar/externs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/battlestar/externs.h b/games/battlestar/externs.h index 2d853521cfdb..f47ca9f615b8 100644 --- a/games/battlestar/externs.h +++ b/games/battlestar/externs.h @@ -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; |