diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-05-02 00:09:48 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-05-06 14:00:06 +0000 |
commit | 23055e912682326d52c2cbba253b73292e591b46 (patch) | |
tree | 3527dae82ea878bb8a769d2af41964b7a7b18947 /modules/pam_mkhomedir/mkhomedir_helper.c | |
parent | c2c601f5340a59c5c62193d55b555d384380ea38 (diff) | |
download | pam-23055e912682326d52c2cbba253b73292e591b46.tar.gz pam-23055e912682326d52c2cbba253b73292e591b46.tar.bz2 pam-23055e912682326d52c2cbba253b73292e591b46.zip |
pam_get_user: do not override valid values returned by the conversation function
When the conversation function returned a value different from
PAM_CONV_AGAIN and provided no response, pam_get_user used to replace
the return value with PAM_CONV_ERR. Fix this and replace the return
value only if it was PAM_SUCCESS.
* libpam/pam_item.c (pam_get_user): Do not override valid values
returned by the conversation function.
Diffstat (limited to 'modules/pam_mkhomedir/mkhomedir_helper.c')
0 files changed, 0 insertions, 0 deletions