summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-09-13 21:30:10 +0200
committerGünther Deschner <gd@samba.org>2009-09-13 21:33:00 +0200
commitc3da2056ec5ef41699453022e3cb762c5f0115e8 (patch)
treea0c0a4b9908af2252522de5bd3eef32428139283
parent15bbae5fd8fb966d69557c58d89730edeea0fab7 (diff)
downloadsamba-c3da2056ec5ef41699453022e3cb762c5f0115e8.tar.gz
samba-c3da2056ec5ef41699453022e3cb762c5f0115e8.tar.bz2
samba-c3da2056ec5ef41699453022e3cb762c5f0115e8.zip
s3-samr: Fix Coverity #934 UNINIT.
Guenther
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 2d50280ac8..058bd12f61 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -773,7 +773,7 @@ NTSTATUS _samr_QuerySecurity(pipes_struct *p,
struct samr_alias_info *ainfo;
NTSTATUS status;
SEC_DESC * psd = NULL;
- size_t sd_size;
+ size_t sd_size = 0;
cinfo = policy_handle_find(p, r->in.handle,
STD_RIGHT_READ_CONTROL_ACCESS, NULL,