diff options
author | green <green@FreeBSD.org> | 2001-03-15 03:15:18 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2001-03-15 03:15:18 +0000 |
commit | 8b51db0ce8cbeceac5b79b866617c5f42552a964 (patch) | |
tree | 8b17bfb3a1a5a84d505a15f4be880135b45b9b7f /crypto/openssh | |
parent | 29d9568ff2f142090d6810b93b953c5753a6183a (diff) | |
download | FreeBSD-src-8b51db0ce8cbeceac5b79b866617c5f42552a964.zip FreeBSD-src-8b51db0ce8cbeceac5b79b866617c5f42552a964.tar.gz |
Don't dump core when an attempt is made to login using protocol 2 with
an invalid user name.
Diffstat (limited to 'crypto/openssh')
-rw-r--r-- | crypto/openssh/auth2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/openssh/auth2.c b/crypto/openssh/auth2.c index 8b13de0..6785fac 100644 --- a/crypto/openssh/auth2.c +++ b/crypto/openssh/auth2.c @@ -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); |