aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG3
-rw-r--r--modules/pam_pwdb/pam_unix_md.-c2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index d84253e5..413c56c1 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -49,6 +49,9 @@ bug report - outstanding bugs are listed here:
0.76: please submit patches for this section with actual code/doc
patches!
+* pam_pwdb: Solar Designer pointed out that there was a problem with
+ the compatibility support for md5 password hashing. (Bug 460717 -
+ agmorgan)
* pam_issue: Nalin found segfaulting problems if the PAM_USER_PROMPT
is unset, found some similar problems with assumptions about
realloc. (Bug 476983 - agmorgan)
diff --git a/modules/pam_pwdb/pam_unix_md.-c b/modules/pam_pwdb/pam_unix_md.-c
index d9b2c51b..65476732 100644
--- a/modules/pam_pwdb/pam_unix_md.-c
+++ b/modules/pam_pwdb/pam_unix_md.-c
@@ -65,7 +65,7 @@ static char *_pam_md_compat(const char *key, const char *salt)
x = x_strdup(e); /* put e in malloc()ed memory */
_pam_overwrite(e); /* clean up */
} else {
- x = x_strdup("*");
+ x = x_strdup(""); /* called from only one place so this is safe */
}
return x; /* this must be deleted elsewhere */