summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/openssh/auth2.c1
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);
OpenPOWER on IntegriCloud