[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Thu Dec 30 04:53:01 MST 2010


The branch, master has been updated
       via  d05fb4b s3: Fix two uninitialized variables
      from  86ff8cf s3: Allow more control over smbsock_[any_]connect

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d05fb4b7b79fa5ef240864f0f0f544bbba1b59e3
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Dec 30 12:42:50 2010 +0100

    s3: Fix two uninitialized variables
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Thu Dec 30 12:52:47 CET 2010 on sn-devel-104

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

Summary of changes:
 source3/libsmb/namequery.c |    2 +-
 source3/utils/nmblookup.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 7016f6b..c7b37b7 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -931,7 +931,7 @@ NTSTATUS name_resolve_bcast(const char *name,
 	int num_interfaces = iface_count();
 	struct sockaddr_storage *ss_list;
 	struct sockaddr_storage ss;
-	NTSTATUS status;
+	NTSTATUS status = NT_STATUS_NOT_FOUND;
 
 	if (lp_disable_netbios()) {
 		DEBUG(5,("name_resolve_bcast(%s#%02x): netbios is disabled\n",
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index 4a55647..c01bb39 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/utils/nmblookup.c
@@ -156,7 +156,7 @@ static bool query_one(const char *lookup, unsigned int lookup_type)
 {
 	int j, count, flags = 0;
 	struct sockaddr_storage *ip_list=NULL;
-	NTSTATUS status;
+	NTSTATUS status = NT_STATUS_NOT_FOUND;
 
 	if (got_bcast) {
 		char addr[INET6_ADDRSTRLEN];


-- 
Samba Shared Repository


More information about the samba-cvs mailing list