diff options
author | Damien Miller <djm@mindrot.org> | 2001-12-29 04:08:28 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-12-29 04:08:28 +0100 |
commit | 0dea79d6b6ea4699fa4dfd19b07adbff1d736d70 (patch) | |
tree | bcbaf8b74598f0b3752334f71aa194c48128d3b5 /auth2.c | |
parent | - (djm) Remove recommendation to use GNU make, we should support most (diff) | |
download | openssh-0dea79d6b6ea4699fa4dfd19b07adbff1d736d70.tar.xz openssh-0dea79d6b6ea4699fa4dfd19b07adbff1d736d70.zip |
- (djm) Apply Cygwin pointer deref fix from Corinna Vinschen
<vinschen@redhat.com> Could be abused to guess valid usernames
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -335,7 +335,7 @@ userauth_none(Authctxt *authctxt) return(0); #ifdef HAVE_CYGWIN - if (check_nt_auth(1, authctxt->pw->pw_uid) == 0) + if (check_nt_auth(1, authctxt->pw) == 0) return(0); #endif #ifdef USE_PAM @@ -361,7 +361,7 @@ userauth_passwd(Authctxt *authctxt) packet_done(); if (authctxt->valid && #ifdef HAVE_CYGWIN - check_nt_auth(1, authctxt->pw->pw_uid) && + check_nt_auth(1, authctxt->pw) && #endif #ifdef USE_PAM auth_pam_password(authctxt->pw, password) == 1) @@ -398,7 +398,7 @@ userauth_kbdint(Authctxt *authctxt) xfree(devs); xfree(lang); #ifdef HAVE_CYGWIN - if (check_nt_auth(0, authctxt->pw->pw_uid) == 0) + if (check_nt_auth(0, authctxt->pw) == 0) return(0); #endif return authenticated; @@ -504,7 +504,7 @@ userauth_pubkey(Authctxt *authctxt) xfree(pkalg); xfree(pkblob); #ifdef HAVE_CYGWIN - if (check_nt_auth(0, authctxt->pw->pw_uid) == 0) + if (check_nt_auth(0, authctxt->pw) == 0) return(0); #endif return authenticated; |