more unix username (#26 - validating #explore)
I had this in place at one point but must have accidentally undone it before deciding that yesterday's patch was finished. Defer fetching 'pw' until it's needed.
This commit is contained in:
@@ -651,7 +651,7 @@ boolean
|
||||
check_user_string(optstr)
|
||||
char *optstr;
|
||||
{
|
||||
struct passwd *pw = get_unix_pw();
|
||||
struct passwd *pw;
|
||||
int pwlen;
|
||||
char *eop, *w;
|
||||
char *pwname = 0;
|
||||
|
||||
Reference in New Issue
Block a user