diff options
author | Günther Deschner <gd@samba.org> | 2011-02-21 17:35:45 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-21 18:47:30 +0100 |
commit | debd6da27a78620053fb380dfc446de4714c3d0a (patch) | |
tree | 2fec6238f43c5ccf342f1e945c77c8df61007886 | |
parent | dcf23f022f9d25f871c60ddb6d173c93932b723f (diff) | |
download | samba-debd6da27a78620053fb380dfc446de4714c3d0a.tar.gz samba-debd6da27a78620053fb380dfc446de4714c3d0a.tar.bz2 samba-debd6da27a78620053fb380dfc446de4714c3d0a.zip |
s3-lsa: fix some uninitialized variables in our lsa server.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 21 18:47:30 CET 2011 on sn-devel-104
-rw-r--r-- | source3/rpc_server/lsa/srv_lsa_nt.c | 6 |
1 files 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. */ |