[krbdev.mit.edu #7556] SVN Commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Jan 31 02:49:23 EST 2013


Fix COPY_FIRST_CANONNAME hostent search

In fake-addrinfo.c, the COPY_FIRST_CANONNAME logic erroneously assumes
that h_name is the same as h_aliases[0].  Look at h_name before
h_aliases for an FQDN, since h_name is normally the
forward-canonicalized name and h_aliases are not.

[ghudson at mit.edu: rewrote commit message]

https://github.com/krb5/krb5/commit/8924d0d333248e7ea1073affdf48eaafc1909d97
Author: Viktor Dukhovni <viktor at twosigma.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 8924d0d333248e7ea1073affdf48eaafc1909d97
Branch: master
 src/util/support/fake-addrinfo.c |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)



More information about the krb5-bugs mailing list