[krbdev.mit.edu #9186] git commit

"Greg Hudson via RT" <[email protected]> Thu, 23 Oct 2025 17:02:55 -0400
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Thu Oct 23 17:02:55 2025: Request 9186 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: git commit
       Owner: [email protected]
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9186 >



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.

[[email protected]: edited commit message]

https://github.com/krb5/krb5/commit/ca97bf697ab1561af1fbd12f5fd13466ec35a962
Author: Alexander Bokovoy <[email protected]>
Committer: Greg Hudson <[email protected]>
Commit: ca97bf697ab1561af1fbd12f5fd13466ec35a962
Branch: master
 src/lib/krb5/krb/preauth_otp.c | 3 +++
 1 file changed, 3 insertions(+)