[SCM] Samba Shared Repository - branch master updated

Christian Ambach ambi at samba.org
Sat Sep 22 17:09:02 MDT 2012


The branch, master has been updated
       via  0319903 s3:vfs_fake_acls fix a compiler warning
       via  1b5256c s3:winbindd fix a compiler warning
      from  f339c1f script/autobuild.py: add --log-base option

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


- Log -----------------------------------------------------------------
commit 0319903b31474575baa78abac30004693f574158
Author: Christian Ambach <ambi at samba.org>
Date:   Sat Sep 22 13:33:02 2012 -0700

    s3:vfs_fake_acls fix a compiler warning
    
    about acl being potentially uninitialized
    
    Autobuild-User(master): Christian Ambach <ambi at samba.org>
    Autobuild-Date(master): Sun Sep 23 01:08:39 CEST 2012 on sn-devel-104

commit 1b5256c184ec378783e6219b34b5a3e512c4df99
Author: Christian Ambach <ambi at samba.org>
Date:   Sat Sep 22 13:32:00 2012 -0700

    s3:winbindd fix a compiler warning
    
    about result being potentially uninitialized

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

Summary of changes:
 source3/modules/vfs_fake_acls.c          |    2 +-
 source3/winbindd/winbindd_sids_to_xids.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_fake_acls.c b/source3/modules/vfs_fake_acls.c
index 258cb19..6390b67 100644
--- a/source3/modules/vfs_fake_acls.c
+++ b/source3/modules/vfs_fake_acls.c
@@ -269,7 +269,7 @@ static SMB_ACL_T fake_acls_sys_acl_get_fd(struct vfs_handle_struct *handle, file
 	DATA_BLOB blob = data_blob_null;
 	ssize_t length;
 	const char *name = FAKE_ACL_ACCESS_XATTR;
-	struct smb_acl_t *acl;
+	struct smb_acl_t *acl = NULL;
 	TALLOC_CTX *frame = talloc_stackframe();
 		
 	do {
diff --git a/source3/winbindd/winbindd_sids_to_xids.c b/source3/winbindd/winbindd_sids_to_xids.c
index 09d9a9b..ad02189 100644
--- a/source3/winbindd/winbindd_sids_to_xids.c
+++ b/source3/winbindd/winbindd_sids_to_xids.c
@@ -223,7 +223,7 @@ NTSTATUS winbindd_sids_to_xids_recv(struct tevent_req *req,
 	struct winbindd_sids_to_xids_state *state = tevent_req_data(
 		req, struct winbindd_sids_to_xids_state);
 	NTSTATUS status;
-	char *result;
+	char *result = NULL;
 	uint32_t i, num_non_cached;
 
 	if (tevent_req_is_nterror(req, &status)) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list