Fix decoding of canonical name in getaddrinfo.

This commit is contained in:
Ulrich Drepper 2011-01-19 15:50:05 -05:00
parent c5be0f71d9
commit 86e9235918
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-10-01 Andreas Schwab <schwab@redhat.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
decoding ACE if AI_CANONIDN.
2011-01-18 Ulrich Drepper <drepper@gmail.com> 2011-01-18 Ulrich Drepper <drepper@gmail.com>
* elf/Makefile: Build IFUNC tests unless multi-arch = no. * elf/Makefile: Build IFUNC tests unless multi-arch = no.

View File

@ -965,6 +965,7 @@ gaih_inet (const char *name, const struct gaih_service *service,
make a copy. */ make a copy. */
if (out == canon) if (out == canon)
goto make_copy; goto make_copy;
canon = out;
} }
else else
#endif #endif