Don't dump core when an attempt is made to login using protocol 2 with
an invalid user name.
This commit is contained in:
parent
50b19f1978
commit
e4fe1ca667
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74278
@ -215,6 +215,7 @@ input_userauth_request(int type, int plen, void *ctxt)
|
||||
#endif
|
||||
} else {
|
||||
log("input_userauth_request: illegal user %s", user);
|
||||
authctxt->pw = NULL;
|
||||
}
|
||||
authctxt->user = xstrdup(user);
|
||||
authctxt->service = xstrdup(service);
|
||||
|
Loading…
Reference in New Issue
Block a user