This patch fixes multiple small problems in pam_pwhistory:
1. document the remember=0 special meaning
2. unnecessary strdupa() in check_old_password().
3. fix memory and in some cases also FD leaks in save_old_password()
4. fix possible NULL dereference and more robust handling of
inconsistent opasswd files in save_old_password()
OK to commit?
--
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb