]> git.ipfire.org Git - thirdparty/krb5.git/commit
Correctly handle fallback in KDC OTP callback 801/head
authorRobbie Harwood <rharwood@redhat.com>
Tue, 3 Oct 2017 18:28:47 +0000 (14:28 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 21 Jun 2018 19:16:05 +0000 (15:16 -0400)
commit09c9b7d6f64767429e90ad11a529e6ffa9538043
treed320572a4276ddf4009e77a015ae2e3ca85cf5fc
parent3a30dec3bbb7f264b7ce74e363c9b23edfd4e491
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@mit.edu: added test case; edited commit message]

ticket: 8708
tags: pullup
target_version: 1.16-next
target_version: 1.15-next
src/plugins/preauth/otp/otp_state.c
src/tests/t_otp.py