summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-17 09:42:49 +0200
committerKarolin Seeger <kseeger@samba.org>2009-10-08 14:50:03 +0200
commiteea4d4481eecc1ffe03e5103de032b9acfd83c52 (patch)
tree323fe892e89efcd840610d46dfcaac3aea19cf48
parent9ff99efe89e0e31e66617f4b1f53340fa76cdce9 (diff)
downloadsamba-eea4d4481eecc1ffe03e5103de032b9acfd83c52.tar.gz
samba-eea4d4481eecc1ffe03e5103de032b9acfd83c52.tar.xz
samba-eea4d4481eecc1ffe03e5103de032b9acfd83c52.zip
s3-rpc_client: fix non initialized structure in rpccli_lsa_lookup_sids_noalloc.
Guenther (cherry picked from commit a4b5c792c55ef90648a528d279beec32f86a9b22) (cherry picked from commit bd2e674cc3ab0fb6f1d988b0b19b6ad5544512b3)
-rw-r--r--source/rpc_client/cli_lsarpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/rpc_client/cli_lsarpc.c b/source/rpc_client/cli_lsarpc.c
index 00412bc5e40..b2ae16724f6 100644
--- a/source/rpc_client/cli_lsarpc.c
+++ b/source/rpc_client/cli_lsarpc.c
@@ -164,6 +164,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,