[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2762-g9e4f576

Volker Lendecke vl at samba.org
Thu Mar 6 10:43:38 GMT 2008


The branch, v3-2-test has been updated
       via  9e4f576abfdd5605f4db9bb87c22ec68c94ff850 (commit)
      from  fe882a575152233de6f4bf2143aca681319b0226 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 9e4f576abfdd5605f4db9bb87c22ec68c94ff850
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Mar 6 11:42:48 2008 +0100

    Fix an uninitialized variable, Coverity ID 481

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

Summary of changes:
 source/libaddns/dnssock.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libaddns/dnssock.c b/source/libaddns/dnssock.c
index 72bbf60..7c8bd41 100644
--- a/source/libaddns/dnssock.c
+++ b/source/libaddns/dnssock.c
@@ -118,6 +118,7 @@ static DNS_ERROR dns_udp_open( const char *nameserver,
 	   the receiver (in this example case "123.456.789.1")
 	   and the specified port number. */
 
+	ZERO_STRUCT(RecvAddr);
 	RecvAddr.sin_family = AF_INET;
 	RecvAddr.sin_port = htons( DNS_UDP_PORT );
 	RecvAddr.sin_addr.s_addr = ulAddress;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list