[krbdev.mit.edu #8386] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Jun 13 10:53:47 EDT 2016


Fix use_master handling with KDC hook reply

A post-receive KDC hook may synthesize a reply if k5_sendto() returns
an error.  If this happens, krb5_sendto_kdc() must not use server_used
to check if the reply came from a master KDC, as it does not have a
valid value.  Preemptively set *use_master to 1 in this case to bypass
the check.

https://github.com/krb5/krb5/commit/603a14f9eb8a81556502fcdc5fac65f0d4f323dc
Author: Greg Hudson <ghudson at mit.edu>
Commit: 603a14f9eb8a81556502fcdc5fac65f0d4f323dc
Branch: master
 src/lib/krb5/os/sendto_kdc.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list