[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-1299-g041f1d2
Jeremy Allison
jra at samba.org
Sat Jan 12 07:53:44 GMT 2008
The branch, v3-2-test has been updated
via 041f1d298c1e72adb263b32f454cdf3603e45416 (commit)
from 7b9d9fba230b9e61079869a6a2751cda37fb8a9e (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 041f1d298c1e72adb263b32f454cdf3603e45416
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 11 23:41:17 2008 -0800
Stop Coverity complaining about uninitialized variables.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/utils/net_rpc_rights.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/utils/net_rpc_rights.c b/source/utils/net_rpc_rights.c
index 23be885..5f222b8 100644
--- a/source/utils/net_rpc_rights.c
+++ b/source/utils/net_rpc_rights.c
@@ -28,9 +28,9 @@ static NTSTATUS sid_to_name(struct rpc_pipe_client *pipe_hnd,
fstring name)
{
POLICY_HND pol;
- enum lsa_SidType *sid_types;
+ enum lsa_SidType *sid_types = NULL;
NTSTATUS result;
- char **domains, **names;
+ char **domains = NULL, **names = NULL;
result = rpccli_lsa_open_policy(pipe_hnd, mem_ctx, True,
SEC_RIGHTS_MAXIMUM_ALLOWED, &pol);
@@ -202,7 +202,7 @@ static NTSTATUS enum_accounts_for_privilege(struct rpc_pipe_client *pipe_hnd,
NTSTATUS result;
uint32 enum_context=0;
uint32 pref_max_length=0x1000;
- DOM_SID *sids;
+ DOM_SID *sids = NULL;
uint32 count=0;
int i;
fstring name;
--
Samba Shared Repository
More information about the samba-cvs
mailing list