From 90906a46ea838b3757eeae71166bb155385eb774 Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Thu, 17 Aug 2000 12:31:17 +0000 Subject: Don't set an arbitrary limit on username lengths; use MAXLOGNAME instead. PR: 20675 Submitted by: Vladimir B Grebenschikov --- libexec/ftpd/ftpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/ftpd') diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 8c091225ad5f..f4a40aaa7d81 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -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. -- cgit v1.3