summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2011-06-15 20:48:59 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2011-06-15 20:52:26 +0200
commitff7c230341fc4bd2266b9ddaf39d83683f12c040 (patch)
tree7992e99be138233c33347c4a90745069e902adfe /ChangeLog
parent62748f7df90225dc0635944ef59e6e4754c302c0 (diff)
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--ChangeLog9
1 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 76428316..b3c499a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>