diff options
author | Damien Miller <djm@mindrot.org> | 2001-02-12 08:02:23 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-02-12 08:02:23 +0100 |
commit | 61ce036c4aa0a45cac9e8d2f1e14a9169f55c6e2 (patch) | |
tree | 7f420b91d91de35970e2f830279be789d0268076 /auth1.c | |
parent | - (djm) Clean up PCRE text in INSTALL (diff) | |
download | openssh-61ce036c4aa0a45cac9e8d2f1e14a9169f55c6e2.tar.xz openssh-61ce036c4aa0a45cac9e8d2f1e14a9169f55c6e2.zip |
- (djm) Fix OSF SIA auth NULL pointer deref. Report from Mike Battersby
<mib@unimelb.edu.au>
Diffstat (limited to 'auth1.c')
-rw-r--r-- | auth1.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -267,9 +267,9 @@ do_authloop(Authctxt *authctxt) /* Do SIA auth with password */ if (sia_validate_user(NULL, saved_argc, saved_argv, get_canonical_hostname(options.reverse_mapping_check), - pw->pw_name, NULL, 0, NULL, password) == SIASUCCESS) { + authctxt->user?authctxt->user:"NOUSER", NULL, + 0, NULL, password) == SIASUCCESS) authenticated = 1; - } #else /* !USE_PAM && !HAVE_OSF_SIA */ /* Try authentication with the password. */ authenticated = auth_password(pw, password); |