[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3466-g1db7e00

Jeremy Allison jra at samba.org
Wed Jul 30 23:07:40 GMT 2008


The branch, v3-3-test has been updated
       via  1db7e00a5400863fd5dbb81c1a4c6ea6092d0495 (commit)
      from  6da33797b0549a2da7dc0fa7ee21dc5e8a6b1459 (commit)

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


- Log -----------------------------------------------------------------
commit 1db7e00a5400863fd5dbb81c1a4c6ea6092d0495
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Jul 30 16:06:30 2008 -0700

    Fix uninitialized variables.
    Jeremy.

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

Summary of changes:
 source/lib/netapi/cm.c          |    2 +-
 source/libads/kerberos_keytab.c |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/netapi/cm.c b/source/lib/netapi/cm.c
index 8eaabb3..8ea31e5 100644
--- a/source/lib/netapi/cm.c
+++ b/source/lib/netapi/cm.c
@@ -165,7 +165,7 @@ WERROR libnetapi_open_pipe(struct libnetapi_ctx *ctx,
 			   const struct ndr_syntax_id *interface,
 			   struct rpc_pipe_client **presult)
 {
-	struct rpc_pipe_client *result;
+	struct rpc_pipe_client *result = NULL;
 	NTSTATUS status;
 
 	if (!cli || !presult) {
diff --git a/source/libads/kerberos_keytab.c b/source/libads/kerberos_keytab.c
index 87b8555..77a50e4 100644
--- a/source/libads/kerberos_keytab.c
+++ b/source/libads/kerberos_keytab.c
@@ -276,6 +276,7 @@ int ads_keytab_add_entry(ADS_STRUCT *ads, const char *srvPrinc)
 		ret = -1;
 		goto out;
 	}
+	ZERO_STRUCT(password);
 	password.data = password_s;
 	password.length = strlen(password_s);
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list