]> sourceware.org Git - glibc.git/commitdiff
Fix decoding of canonical name in getaddrinfo.
authorUlrich Drepper <drepper@gmail.com>
Wed, 19 Jan 2011 20:50:05 +0000 (15:50 -0500)
committerUlrich Drepper <drepper@gmail.com>
Wed, 19 Jan 2011 20:50:05 +0000 (15:50 -0500)
ChangeLog
sysdeps/posix/getaddrinfo.c

index 40b02db667ae835daf49dd09d0564f93abf38625..d3ae8bc94a722397be71aa17d803a02ad0ae67f9 100644 (file)
--- 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.
index 126a09ea339a15387e2e17d2222f72187c542558..c61c72a24ac2c27a82f9daf569c6d17f99618076 100644 (file)
@@ -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
This page took 0.042788 seconds and 5 git commands to generate.