diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | auth1.c | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -4,6 +4,8 @@ | |||
4 | implicit rpm-3.0.5 dependancy explicit. Patch and suggestions from | 4 | implicit rpm-3.0.5 dependancy explicit. Patch and suggestions from |
5 | Pekka Savola <pekkas@netcore.fi> | 5 | Pekka Savola <pekkas@netcore.fi> |
6 | - (djm) Clean up PCRE text in INSTALL | 6 | - (djm) Clean up PCRE text in INSTALL |
7 | - (djm) Fix OSF SIA auth NULL pointer deref. Report from Mike Battersby | ||
8 | <mib@unimelb.edu.au> | ||
7 | 9 | ||
8 | 20010211 | 10 | 20010211 |
9 | - (bal) OpenBSD Sync | 11 | - (bal) OpenBSD Sync |
@@ -3900,4 +3902,4 @@ | |||
3900 | - Wrote replacements for strlcpy and mkdtemp | 3902 | - Wrote replacements for strlcpy and mkdtemp |
3901 | - Released 1.0pre1 | 3903 | - Released 1.0pre1 |
3902 | 3904 | ||
3903 | $Id: ChangeLog,v 1.746 2001/02/12 00:15:41 djm Exp $ | 3905 | $Id: ChangeLog,v 1.747 2001/02/12 07:02:23 djm Exp $ |
@@ -267,9 +267,9 @@ do_authloop(Authctxt *authctxt) | |||
267 | /* Do SIA auth with password */ | 267 | /* Do SIA auth with password */ |
268 | if (sia_validate_user(NULL, saved_argc, saved_argv, | 268 | if (sia_validate_user(NULL, saved_argc, saved_argv, |
269 | get_canonical_hostname(options.reverse_mapping_check), | 269 | get_canonical_hostname(options.reverse_mapping_check), |
270 | pw->pw_name, NULL, 0, NULL, password) == SIASUCCESS) { | 270 | authctxt->user?authctxt->user:"NOUSER", NULL, |
271 | 0, NULL, password) == SIASUCCESS) | ||
271 | authenticated = 1; | 272 | authenticated = 1; |
272 | } | ||
273 | #else /* !USE_PAM && !HAVE_OSF_SIA */ | 273 | #else /* !USE_PAM && !HAVE_OSF_SIA */ |
274 | /* Try authentication with the password. */ | 274 | /* Try authentication with the password. */ |
275 | authenticated = auth_password(pw, password); | 275 | authenticated = auth_password(pw, password); |