From: | ghudson@mit.edu |
Subject: | SVN Commit |
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@mit.edu: rewrote commit message]
https://github.com/krb5/krb5/commit/8924d0d333248e7ea1073affdf48eaafc1909d97
Author: Viktor Dukhovni <viktor@twosigma.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 8924d0d333248e7ea1073affdf48eaafc1909d97
Branch: master
src/util/support/fake-addrinfo.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)