[krbdev.mit.edu #8708] git commit

Greg Hudson via RT rt-comment at KRBDEV-PROD-APP-1.mit.edu
Tue Oct 30 12:27:37 EDT 2018


Correctly handle fallback in KDC OTP callback

In otp_state.c:callback(), avoid invoking the failure callback when we
fall back to the next token.  Since request_send() consumes the
request, don't try to free it.

[ghudson at mit.edu: added test case; edited commit message]

(cherry picked from commit 09c9b7d6f64767429e90ad11a529e6ffa9538043)

https://github.com/krb5/krb5/commit/cf00f0538b6b6e45171739a49424281a1802bb26
Author: Robbie Harwood <rharwood at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: cf00f0538b6b6e45171739a49424281a1802bb26
Branch: krb5-1.15
 src/plugins/preauth/otp/otp_state.c |    1 +
 src/tests/t_otp.py                  |   28 +++++++++++++++++++++++++---
 2 files changed, 26 insertions(+), 3 deletions(-)



More information about the krb5-bugs mailing list