summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-17 09:42:49 +0200
committerGünther Deschner <gd@samba.org>2009-09-18 21:32:45 +0200
commita4b5c792c55ef90648a528d279beec32f86a9b22 (patch)
treee53fb7acf41f014d3bfc2df50e5f90ace765b7e1
parent700df9b27a0623336c1ad78414be9fd572fd2e56 (diff)
downloadsamba-a4b5c792c55ef90648a528d279beec32f86a9b22.tar.gz
samba-a4b5c792c55ef90648a528d279beec32f86a9b22.tar.bz2
samba-a4b5c792c55ef90648a528d279beec32f86a9b22.zip
s3-rpc_client: fix non initialized structure in rpccli_lsa_lookup_sids_noalloc.
Guenther
-rw-r--r--source3/rpc_client/cli_lsarpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index aa883d3cf1..d49fa47f57 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -152,6 +152,8 @@ static NTSTATUS rpccli_lsa_lookup_sids_noalloc(struct rpc_pipe_client *cli,
struct lsa_TransNameArray2 lsa_names2;
uint32_t n;
+ ZERO_STRUCT(lsa_names2);
+
result = rpccli_lsa_LookupSids3(cli, mem_ctx,
&sid_array,
&ref_domains,