summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-12-06 18:15:12 +0100
committerGünther Deschner <gd@samba.org>2012-12-12 09:42:33 +0100
commitd020c51978727185803edc5575adaf485b6e894e (patch)
treeefecd94ae9da17b1681a8989a4a863cf6455aa74 /source3/lib
parentdc9fa1a026e9cd543a53b9ca72b0c52e1740c2e4 (diff)
downloadsamba-d020c51978727185803edc5575adaf485b6e894e.tar.gz
samba-d020c51978727185803edc5575adaf485b6e894e.tar.bz2
samba-d020c51978727185803edc5575adaf485b6e894e.zip
s3-netapi: Initialize group_handle of NetUserSetGroups_r.
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c
index 3003a39397..dfcbb095a9 100644
--- a/source3/lib/netapi/user.c
+++ b/source3/lib/netapi/user.c
@@ -3150,6 +3150,7 @@ WERROR NetUserSetGroups_r(struct libnetapi_ctx *ctx,
ZERO_STRUCT(connect_handle);
ZERO_STRUCT(domain_handle);
+ ZERO_STRUCT(group_handle);
if (!r->in.buffer) {
return WERR_INVALID_PARAM;