diff options
author | Viktor Dukhovni <viktor@twosigma.com> | 2013-01-30 22:58:50 -0500 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-01-31 02:48:51 -0500 |
commit | 8924d0d333248e7ea1073affdf48eaafc1909d97 (patch) | |
tree | ceff2a3713c2fdfb7671ef091ebbba54c9e65a3b /src/slave/kproplog.c | |
parent | cba077afd0a3c133c52cc25c84da62205ba61013 (diff) | |
download | krb5-8924d0d333248e7ea1073affdf48eaafc1909d97.tar.gz krb5-8924d0d333248e7ea1073affdf48eaafc1909d97.tar.xz krb5-8924d0d333248e7ea1073affdf48eaafc1909d97.zip |
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]
ticket: 7556 (new)
Diffstat (limited to 'src/slave/kproplog.c')
0 files changed, 0 insertions, 0 deletions