[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-277-gc3da205

Günther Deschner gd at samba.org
Sun Sep 13 13:40:28 MDT 2009


The branch, master has been updated
       via  c3da2056ec5ef41699453022e3cb762c5f0115e8 (commit)
       via  15bbae5fd8fb966d69557c58d89730edeea0fab7 (commit)
      from  f9edee119cc8c298d7c114599688c417ec78fe60 (commit)

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


- Log -----------------------------------------------------------------
commit c3da2056ec5ef41699453022e3cb762c5f0115e8
Author: Günther Deschner <gd at samba.org>
Date:   Sun Sep 13 21:30:10 2009 +0200

    s3-samr: Fix Coverity #934 UNINIT.
    
    Guenther

commit 15bbae5fd8fb966d69557c58d89730edeea0fab7
Author: Günther Deschner <gd at samba.org>
Date:   Sun Sep 13 21:28:23 2009 +0200

    s3-netlogon: Fix Coverity #945 UNINIT.
    
    Guenther

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

Summary of changes:
 source3/rpc_server/srv_netlog_nt.c |    2 +-
 source3/rpc_server/srv_samr_nt.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index f21c80e..07a0b97 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -1150,7 +1150,7 @@ NTSTATUS _netr_LogonSamLogonEx(pipes_struct *p,
 			       struct netr_LogonSamLogonEx *r)
 {
 	NTSTATUS status;
-	struct netlogon_creds_CredentialState *creds;
+	struct netlogon_creds_CredentialState *creds = NULL;
 
 	become_root();
 	status = schannel_fetch_session_key(p->mem_ctx, r->in.computer_name, &creds);
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 2d50280..058bd12 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -773,7 +773,7 @@ NTSTATUS _samr_QuerySecurity(pipes_struct *p,
 	struct samr_alias_info *ainfo;
 	NTSTATUS status;
 	SEC_DESC * psd = NULL;
-	size_t sd_size;
+	size_t sd_size = 0;
 
 	cinfo = policy_handle_find(p, r->in.handle,
 				   STD_RIGHT_READ_CONTROL_ACCESS, NULL,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list