Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Fix OTP preauth crash with null prompter

In doprompt(), check if the caller provided a prompter before
dereferencing it. Similar code returns either EIO or
KRB5_LIBOS_CANTREADPWD; use EIO for this case as OTP preauth prompts
for a PIN and not a Kerberos password.

[ghudson@mit.edu: edited commit message]

https://github.com/krb5/krb5/commit/ca97bf697ab1561af1fbd12f5fd13466ec35a962
Author: Alexander Bokovoy <abokovoy@redhat.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: ca97bf697ab1561af1fbd12f5fd13466ec35a962
Branch: master
src/lib/krb5/krb/preauth_otp.c | 3 +++
1 file changed, 3 insertions(+)