From: Günther Deschner Date: Thu, 17 Sep 2009 07:42:49 +0000 (+0200) Subject: s3-rpc_client: fix non initialized structure in rpccli_lsa_lookup_sids_noalloc. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd2e674cc3ab0fb6f1d988b0b19b6ad5544512b3;p=thirdparty%2Fsamba.git s3-rpc_client: fix non initialized structure in rpccli_lsa_lookup_sids_noalloc. Guenther (cherry picked from commit a4b5c792c55ef90648a528d279beec32f86a9b22) --- 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,