]> eyrie.org Git - kerberos/pam-krb5.git/commit
Fix buffer overflow in prompting, further cleanup
authorRuss Allbery <eagle@eyrie.org>
Tue, 3 Mar 2020 07:57:02 +0000 (23:57 -0800)
committerRuss Allbery <rra@debian.org>
Sun, 29 Mar 2020 03:50:51 +0000 (20:50 -0700)
commitb57c2ee992ae2309e7866e89caef2a4870722435
tree8ff06ced11defac3bebf34822b50bccc530026c7
parent7ef6807584b025cc240375d900532fe7c5d70a70
Fix buffer overflow in prompting, further cleanup

SECURITY: All previous versions of this module could overflow the
buffer provided by the underlying Kerberos library for the response to
a prompt by writing a single nul character past the end of the buffer.

Return more accurate errors from the Kerberos prompter function if it
was unable to prompt for the password.  This may translate into better
debug log messages and, in some situations, returning the slightly
more accurate PAM_AUTHINFO_UNAVAIL instead of PAM_AUTH_ERR.
NEWS
module/auth.c
module/prompting.c