[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r6118 - in glibc-package/branches/eglibc-2.19/debian: . patches patches/any



Author: aurel32
Date: 2014-06-03 19:41:02 +0000 (Tue, 03 Jun 2014)
New Revision: 6118

Added:
   glibc-package/branches/eglibc-2.19/debian/patches/any/cvs-resolv-reuse-fd.diff
Modified:
   glibc-package/branches/eglibc-2.19/debian/changelog
   glibc-package/branches/eglibc-2.19/debian/patches/series
Log:
debian/patches/any/cvs-resolv-reuse-fd.diff: new patch from upstream
to fix invalid file descriptor reuse while sending DNS query.  Closes:
#722075.

Modified: glibc-package/branches/eglibc-2.19/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.19/debian/changelog	2014-05-29 23:08:34 UTC (rev 6117)
+++ glibc-package/branches/eglibc-2.19/debian/changelog	2014-06-03 19:41:02 UTC (rev 6118)
@@ -2,6 +2,9 @@
 
   [ Aurelien Jarno ]
   * debian/control.in/main: remove outdated Build-Depends on bzip2.
+  * debian/patches/any/cvs-resolv-reuse-fd.diff: new patch from upstream
+    to fix invalid file descriptor reuse while sending DNS query.  Closes:
+    #722075.
 
   [ Samuel Thibault ]
   * hurd-i386/unsubmitted-pthread_posix-option.diff: Split patches into...

Added: glibc-package/branches/eglibc-2.19/debian/patches/any/cvs-resolv-reuse-fd.diff
===================================================================
--- glibc-package/branches/eglibc-2.19/debian/patches/any/cvs-resolv-reuse-fd.diff	                        (rev 0)
+++ glibc-package/branches/eglibc-2.19/debian/patches/any/cvs-resolv-reuse-fd.diff	2014-06-03 19:41:02 UTC (rev 6118)
@@ -0,0 +1,16 @@
+2014-06-03  Andreas Schwab  <schwab@suse.de>
+
+	[BZ #15946]
+	* resolv/res_send.c (send_dg): Reload file descriptor after
+	calling reopen.
+
+--- a/resolv/res_send.c
++++ b/resolv/res_send.c
+@@ -1410,6 +1410,7 @@ send_dg(res_state statp,
+ 					retval = reopen (statp, terrno, ns);
+ 					if (retval <= 0)
+ 						return retval;
++					pfd[0].fd = EXT(statp).nssocks[ns];
+ 				}
+ 			}
+ 			goto wait;

Modified: glibc-package/branches/eglibc-2.19/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.19/debian/patches/series	2014-05-29 23:08:34 UTC (rev 6117)
+++ glibc-package/branches/eglibc-2.19/debian/patches/series	2014-06-03 19:41:02 UTC (rev 6118)
@@ -242,3 +242,4 @@
 any/cvs-socketcall-syscall.diff
 any/submitted-nl_langinfo-static.diff
 any/cvs-strtod.diff
+any/cvs-resolv-reuse-fd.diff


Reply to: