From debd6da27a78620053fb380dfc446de4714c3d0a Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 21 Feb 2011 17:35:45 +0100 Subject: s3-lsa: fix some uninitialized variables in our lsa server. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Mon Feb 21 18:47:30 CET 2011 on sn-devel-104 --- source3/rpc_server/lsa/srv_lsa_nt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/rpc_server/lsa/srv_lsa_nt.c b/source3/rpc_server/lsa/srv_lsa_nt.c index 02cdc21584..697b287a0f 100644 --- a/source3/rpc_server/lsa/srv_lsa_nt.c +++ b/source3/rpc_server/lsa/srv_lsa_nt.c @@ -1548,7 +1548,7 @@ NTSTATUS _lsa_OpenTrustedDomain(struct pipes_struct *p, struct lsa_OpenTrustedDomain *r) { struct lsa_info *handle = NULL; - struct trustdom_info *info; + struct trustdom_info *info = NULL; NTSTATUS status; if (!find_policy_by_hnd(p, r->in.handle, (void **)(void *)&handle)) { @@ -1578,7 +1578,7 @@ NTSTATUS _lsa_OpenTrustedDomainByName(struct pipes_struct *p, struct lsa_OpenTrustedDomainByName *r) { struct lsa_info *handle = NULL; - struct trustdom_info *info; + struct trustdom_info *info = NULL; NTSTATUS status; if (!find_policy_by_hnd(p, r->in.handle, (void **)(void *)&handle)) { @@ -2827,7 +2827,7 @@ NTSTATUS _lsa_QuerySecurity(struct pipes_struct *p, { struct lsa_info *handle=NULL; struct security_descriptor *psd = NULL; - size_t sd_size; + size_t sd_size = 0; NTSTATUS status; /* find the connection policy handle. */ -- cgit