1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-01 12:19:28 +00:00

Don't set an arbitrary limit on username lengths; use MAXLOGNAME

instead.

PR:		20675
Submitted by:	Vladimir B Grebenschikov <vova@express.ru>
This commit is contained in:
Sheldon Hearn 2000-08-17 12:31:17 +00:00
parent 82583dd564
commit 90906a46ea
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64778

View File

@ -871,7 +871,7 @@ sgetpwnam(name)
static int login_attempts; /* number of failed login attempts */
static int askpasswd; /* had user command, ask for passwd */
static char curname[10]; /* current USER name */
static char curname[MAXLOGNAME]; /* current USER name */
/*
* USER command.