[krbdev.mit.edu #8336] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Jan 7 08:29:47 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.

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



More information about the krb5-bugs mailing list