]> granicus.if.org Git - linux-pam/commit - modules/pam_unix/pam_unix_passwd.c
Fix matching of usernames in the pam_unix remember feature.
authorTomas Mraz <tmraz@fedoraproject.org>
Tue, 3 Jan 2012 11:30:43 +0000 (12:30 +0100)
committerTomas Mraz <tmraz@fedoraproject.org>
Tue, 3 Jan 2012 11:30:43 +0000 (12:30 +0100)
commit0baf28fa03dfa46482e13390fd9a7545c30ccd7f
tree581dbefda9535ca93378dc748ee156c47f994853
parentaea290af6d2de6a493e952b9ef8c771ab9014fef
Fix matching of usernames in the pam_unix remember feature.

* modules/pam_unix/pam_unix_passwd.c (check_old_password): Make
sure we match only the whole username in opasswd entry.
* modules/pam_unix/passverify.c (save_old_password): Likewise make
sure we match only the whole username in opasswd entry.
modules/pam_unix/pam_unix_passwd.c
modules/pam_unix/passverify.c