[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Wed Sep 7 11:48:02 MDT 2011


The branch, master has been updated
       via  14876e6 s3: Fix Coverity ID 2611, UNINIT
       via  74cddde s3: Fix Coverity ID 2612, UNINIT
      from  9005e0f s3:smb2cli: let smb2cli_req_create() use the give pid, uid and tid values

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


- Log -----------------------------------------------------------------
commit 14876e65eab7bc0b4b00782cbd936e46bd3f3d0d
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Sep 7 18:08:50 2011 +0200

    s3: Fix Coverity ID 2611, UNINIT
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Wed Sep  7 19:47:49 CEST 2011 on sn-devel-104

commit 74cdddea1b6bc7714ffb98ed6cfa224e0b7014ca
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Sep 7 18:07:36 2011 +0200

    s3: Fix Coverity ID 2612, UNINIT

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

Summary of changes:
 source3/registry/reg_backend_db.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 88e234e..bac075a 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1792,6 +1792,7 @@ static NTSTATUS regdb_store_values_internal(struct db_context *db,
 	}
 	keystr = normalize_reg_path(ctx, keystr);
 	if (!keystr) {
+		status = NT_STATUS_NO_MEMORY;
 		goto done;
 	}
 
@@ -1907,6 +1908,7 @@ static NTSTATUS regdb_set_secdesc_action(struct db_context *db,
 
 	tdbkey = talloc_asprintf(frame, "%s\\%s", REG_SECDESC_PREFIX, ctx->key);
 	if (tdbkey == NULL) {
+		status = NT_STATUS_NO_MEMORY;
 		goto done;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list