[krbdev.mit.edu #8336] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Jan 8 17:16:20 EST 2016


Don't canonicalize hostname in sim_client.c

krb5_mk_req() already canonicalizes the target hostname, so don't try
to use a buffer of size MAXHOSTNAMELEN to canonicalize the hostname
beforehand.  This buffer will be too short for some unusually long
FQDNs.

(cherry picked from commit 0491c778064e80aaf2aaeb4475a0db333542fed9)

https://github.com/krb5/krb5/commit/43d044c5e839d63160936541ae0b74c1c874cb52
Author: Tom Yu <tlyu at mit.edu>
Commit: 43d044c5e839d63160936541ae0b74c1c874cb52
Branch: krb5-1.13
 src/appl/simple/client/sim_client.c |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)



More information about the krb5-bugs mailing list