This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.10-209-ge28b969


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  e28b969b49811a30887e7a252ac1804a055fe297 (commit)
      from  889f847e4a031e620cfd89c8bc6f6ae919caf200 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e28b969b49811a30887e7a252ac1804a055fe297

commit e28b969b49811a30887e7a252ac1804a055fe297
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Sun Jul 26 12:16:24 2009 -0700

    Handle SERVFAIL, NOTIMP, REFUSED replies from DNS server better.
    
    When doing IPv4+6 lookups we have to pass up the error record from
    send_dg.

diff --git a/ChangeLog b/ChangeLog
index a49ccbf..977f0f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-07-26  Ulrich Drepper  <drepper@redhat.com>
 
+	[BZ #10452]
+	* resolv/res_send.c (send_dg): Pass full SERVFAIL, NOTIMP, REFUSED
+	replies up.
+
 	* elf/elf.h: Define NT_GNU_GOLD_VERSION.
 
 2009-07-25  Ulrich Drepper  <drepper@redhat.com>
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 971a4af..4c14db1 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -1278,14 +1278,10 @@ send_dg(res_state statp,
 				? *thisanssiz : *thisresplen);
 
 			if (recvresp1 || (buf2 != NULL && recvresp2))
-			  {
-			    *resplen2 = 1;
-			    return resplen;
-			  }
+			  return resplen;
 			if (buf2 != NULL)
 			  {
 			    /* We are waiting for a possible second reply.  */
-			    resplen = 1;
 			    if (hp->id == anhp->id)
 			      recvresp1 = 1;
 			    else

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    4 ++++
 resolv/res_send.c |    6 +-----
 2 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]