[krbdev.mit.edu #8336] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Jan 7 17:13:51 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/40afd7e5165de5459dabdebee10c5ccfd7322dec
Author: Tom Yu <tlyu at mit.edu>
Commit: 40afd7e5165de5459dabdebee10c5ccfd7322dec
Branch: krb5-1.14
 src/appl/simple/client/sim_client.c |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)



More information about the krb5-bugs mailing list