diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2011-06-15 20:48:59 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2011-06-15 20:52:26 +0200 |
commit | ff7c230341fc4bd2266b9ddaf39d83683f12c040 (patch) | |
tree | 7992e99be138233c33347c4a90745069e902adfe /ChangeLog | |
parent | 62748f7df90225dc0635944ef59e6e4754c302c0 (diff) | |
download | pam-ff7c230341fc4bd2266b9ddaf39d83683f12c040.tar.gz pam-ff7c230341fc4bd2266b9ddaf39d83683f12c040.tar.bz2 pam-ff7c230341fc4bd2266b9ddaf39d83683f12c040.zip |
Cleanups of pam_pwhistory code. Make opasswd entry parsing more robust.
* modules/pam_pwhistory/opasswd.c (check_old_password): Do not
needlessly call strdupa().
(save_old_password): Avoid memleaks in error paths. Avoid memleak of
buf. Make the opasswd entry parsing more robust.
* modules/pam_pwhistory/pam_pwhistory.8.xml: Document the
special meaning of remember=0.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2,7 +2,14 @@ * modules/pam_sepermit/pam_sepermit.c (check_running): Avoid leaking memory and dir handle on realloc failure. - (sepermit_unlock) Cast fcntl() and close() calls to void. + (sepermit_unlock): Cast fcntl() and close() calls to void. + + * modules/pam_pwhistory/opasswd.c (check_old_password): Do not + needlessly call strdupa(). + (save_old_password): Avoid memleaks in error paths. Avoid memleak of + buf. Make the opasswd entry parsing more robust. + * modules/pam_pwhistory/pam_pwhistory.8.xml: Document the + special meaning of remember=0. 2011-06-14 Thorsten Kukuk <kukuk@thkukuk.de> |