summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-01-11 22:44:33 -0800
committerJeremy Allison <jra@samba.org>2008-01-11 22:44:33 -0800
commit6fa81523f86c5e136bf3ab2c5b0c9032570d3b96 (patch)
treecaa7fa5b36bc2c79e8e385d58951a8b7d3495600 /source3
parent05fb367a014305f385a6db6653bd327861291563 (diff)
downloadsamba-6fa81523f86c5e136bf3ab2c5b0c9032570d3b96.tar.gz
samba-6fa81523f86c5e136bf3ab2c5b0c9032570d3b96.tar.bz2
samba-6fa81523f86c5e136bf3ab2c5b0c9032570d3b96.zip
Ensure we don't access an uninitialized variable
(CID 535 - actually false but easy to shut up :-). Jeremy. (This used to be commit 4038bb3a9485943db58d9fe30947e11522ce283d)
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_rpc.c b/source3/winbindd/winbindd_rpc.c
index f5e1226447..34ba0498e0 100644
--- a/source3/winbindd/winbindd_rpc.c
+++ b/source3/winbindd/winbindd_rpc.c
@@ -308,7 +308,7 @@ NTSTATUS msrpc_sid_to_name(struct winbindd_domain *domain,
{
char **domains;
char **names;
- enum lsa_SidType *types;
+ enum lsa_SidType *types = NULL;
NTSTATUS result;
struct rpc_pipe_client *cli;
POLICY_HND lsa_policy;