Author: aurel32 Date: 2010-01-05 23:14:56 +0000 (Tue, 05 Jan 2010) New Revision: 4054
Added: glibc-package/trunk/debian/patches/any/cvs-resolv-uninitialized.diff Removed: glibc-package/trunk/cvs-resolv-uninitialized.diff Log: Move patch to right location Deleted: glibc-package/trunk/cvs-resolv-uninitialized.diff =================================================================== --- glibc-package/trunk/cvs-resolv-uninitialized.diff 2010-01-05 23:13:24 UTC (rev 4053) +++ glibc-package/trunk/cvs-resolv-uninitialized.diff 2010-01-05 23:14:56 UTC (rev 4054) @@ -1,19 +0,0 @@ -2009-10-29 Ulrich Drepper <drep...@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. Copied: glibc-package/trunk/debian/patches/any/cvs-resolv-uninitialized.diff (from rev 4053, glibc-package/trunk/cvs-resolv-uninitialized.diff) =================================================================== --- glibc-package/trunk/debian/patches/any/cvs-resolv-uninitialized.diff (rev 0) +++ glibc-package/trunk/debian/patches/any/cvs-resolv-uninitialized.diff 2010-01-05 23:14:56 UTC (rev 4054) @@ -0,0 +1,19 @@ +2009-10-29 Ulrich Drepper <drep...@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. -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org