[krbdev.mit.edu #8708] git commit

Greg Hudson via RT rt-comment at KRBDEV-PROD-APP-1.mit.edu
Thu Jun 21 20:20:21 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]

https://github.com/krb5/krb5/commit/09c9b7d6f64767429e90ad11a529e6ffa9538043
Author: Robbie Harwood <rharwood at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 09c9b7d6f64767429e90ad11a529e6ffa9538043
Branch: master
 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