summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-12-06 17:04:47 +0100
committerGünther Deschner <gd@samba.org>2012-12-12 09:42:33 +0100
commitf1fe877d07d6b1d04e9bbbec558bad90a855ae95 (patch)
tree07be2b05b20c727ae8d9d364f66a85e5cf4a35b9 /source3/lib
parent7d20934693174deac1f94a250ee9a2d39a7a8c8c (diff)
downloadsamba-f1fe877d07d6b1d04e9bbbec558bad90a855ae95.tar.gz
samba-f1fe877d07d6b1d04e9bbbec558bad90a855ae95.tar.bz2
samba-f1fe877d07d6b1d04e9bbbec558bad90a855ae95.zip
s3-netapi: Initialize group_handle of NetGroupSetUsers_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/group.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/netapi/group.c b/source3/lib/netapi/group.c
index 3c1618e77b..9813f7eacb 100644
--- a/source3/lib/netapi/group.c
+++ b/source3/lib/netapi/group.c
@@ -1640,6 +1640,7 @@ WERROR NetGroupSetUsers_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;