]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Don't discard result of decoding ACE if AI_CANONIDN
authorAndreas Schwab <schwab@redhat.com>
Fri, 1 Oct 2010 12:27:38 +0000 (14:27 +0200)
committerAndreas Schwab <schwab@redhat.com>
Tue, 5 Oct 2010 09:22:39 +0000 (11:22 +0200)
ChangeLog
sysdeps/posix/getaddrinfo.c

index f8131b9bc08eff3488052b59385f07c69cf2f238..8ab75bf1dee72f6aff43e6bb2167efd7e75d5338 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-05  Andreas Schwab  <schwab@redhat.com>
+
+       * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
+       decoding ACE if AI_CANONIDN.
+
 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
 
        [BZ #12005]
index 3a3e6b4b2436e147ece2f16ab9ea0c3fdcc22e5c..4a0b6b14269e303adc9ea684907c965118f1a36f 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