diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-01-19 15:50:05 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-01-19 15:50:05 -0500 |
commit | 86e9235918a715095a1f5bb1c1db28fae7fca22b (patch) | |
tree | 9fc6f3df44296b5555cd4069432ef09dcaf7f4cf | |
parent | c5be0f71d9cac2f9bf0b01bb4b0221ddb6504969 (diff) | |
download | glibc-86e9235918a715095a1f5bb1c1db28fae7fca22b.tar.gz glibc-86e9235918a715095a1f5bb1c1db28fae7fca22b.tar.xz glibc-86e9235918a715095a1f5bb1c1db28fae7fca22b.zip |
Fix decoding of canonical name in getaddrinfo.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/posix/getaddrinfo.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 40b02db667..d3ae8bc94a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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> * elf/Makefile: Build IFUNC tests unless multi-arch = no. diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index 126a09ea33..c61c72a24a 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -965,6 +965,7 @@ gaih_inet (const char *name, const struct gaih_service *service, make a copy. */ if (out == canon) goto make_copy; + canon = out; } else #endif |