Handle running out of buffer space with IPv6 mapping enabled.
authorAndreas Schwab <schwab@redhat.com>
Tue, 10 Nov 2009 15:36:50 +0000 (07:36 -0800)
committerUlrich Drepper <drepper@redhat.com>
Tue, 10 Nov 2009 15:36:50 +0000 (07:36 -0800)
commit51e4196f16a2d98377e3c481a44e133369dc7669
treee2d83a34e0bbe6f47dfe733f6062b6508e4d6868
parent6515a01fc1d35d329886d5a45435537ee9115bc4
Handle running out of buffer space with IPv6 mapping enabled.

With big DNS answers like the one you get for goodtimesdot.com you can
get a truncated address list if IPv6 mapping is enabled.  Instead tell
the caller to resize the buffer.
ChangeLog
resolv/mapv4v6hostent.h
resolv/nss_dns/dns-host.c