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

r4053 - in glibc-package/trunk: . debian debian/patches



Author: aurel32
Date: 2010-01-05 23:13:24 +0000 (Tue, 05 Jan 2010)
New Revision: 4053

Added:
   glibc-package/trunk/cvs-resolv-uninitialized.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * Add debian/patches/any/cvs-resolv-uninitialized.diff to fix an 
    uninitialized variable in resolv code.



Added: glibc-package/trunk/cvs-resolv-uninitialized.diff
===================================================================
--- glibc-package/trunk/cvs-resolv-uninitialized.diff	                        (rev 0)
+++ glibc-package/trunk/cvs-resolv-uninitialized.diff	2010-01-05 23:13:24 UTC (rev 4053)
@@ -0,0 +1,19 @@
+2009-10-29  Ulrich Drepper  <drepper@redhat.com>
+ 
+	[BZ #10391]
+	* resolv/res_send.c (send_dg): Initialize resplen.
+
+diff --git a/resolv/res_send.c b/resolv/res_send.c
+index fa48bd9..e2bbfcc 100644
+--- a/resolv/res_send.c
++++ b/resolv/res_send.c
+@@ -1005,7 +1005,8 @@ send_dg(res_state statp,
+ 	struct pollfd pfd[1];
+ 	int ptimeout;
+ 	struct sockaddr_in6 from;
+-	int resplen, n;
++	int resplen = 0;
++	int n;
+ 
+ 	/*
+ 	 * Compute time for the total operation.

Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2010-01-05 23:10:28 UTC (rev 4052)
+++ glibc-package/trunk/debian/changelog	2010-01-05 23:13:24 UTC (rev 4053)
@@ -12,11 +12,13 @@
     and workday to Monday.  Closes: #563636.
   * Add debian/patches/any/cvs-resolv-init.diff to fix mixing IPv4 and
     IPv6 name server in resolv.conf.
+  * Add debian/patches/any/cvs-resolv-uninitialized.diff to fix an 
+    uninitialized variable in resolv code.
 
   [ Petr Salinger]
   * kfreebsd/local-sysdeps.diff: update to revision 2907 (from glibc-bsd).
 
- -- Aurelien Jarno <aurel32@debian.org>  Wed, 06 Jan 2010 00:10:12 +0100
+ -- Aurelien Jarno <aurel32@debian.org>  Wed, 06 Jan 2010 00:13:16 +0100
 
 eglibc (2.10.2-3) unstable; urgency=low
 

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2010-01-05 23:10:28 UTC (rev 4052)
+++ glibc-package/trunk/debian/patches/series	2010-01-05 23:13:24 UTC (rev 4053)
@@ -221,4 +221,5 @@
 any/local-ntp-update.diff
 any/cvs-malloc_info-output.diff
 #any/cvs-futimens.diff
-debian/patches/any/cvs-resolv-init.diff
+patches/any/cvs-resolv-init.diff
+patches/any/cvs-resolv-uninitialized.diff


Reply to: