]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
Avoid duplicate DNS requests if answer is longer than a implementation
authorJeroen van Bemmel <jvb127@gmail.com>
Thu, 12 Jul 2012 05:53:28 +0000 (11:23 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 12 Jul 2012 06:01:48 +0000 (11:31 +0530)
commit7b6e99be77c24a79cb07416d81796b45176923c6
treeec6fdfbc4df5a1dec8305ff8d9cd75a6e0d0608f
parenta766fb45a3473c416df010d614287012f7a00838
Avoid duplicate DNS requests if answer is longer than a implementation
limit

        [BZ #14307]
        * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
        the temporary buffer used to invoke __gethostbyname2_r,
        __gethostbyaddr_r and gethostbyname4_r to make room for struct
        host_data / struct gaih_addrtuple.
        * resolv/nss_dns/dns-host.c (global scope): Move definition of
        implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
        header file nss/nsswitch.h.
        * nss/nsswitch.h (global scope): Add definition of implementation
        constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
        resolv/nss_dns/dns-host.c).
ChangeLog
nss/nsswitch.h
resolv/nss_dns/dns-host.c
sysdeps/posix/getaddrinfo.c