From f1fe877d07d6b1d04e9bbbec558bad90a855ae95 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 6 Dec 2012 17:04:47 +0100 Subject: s3-netapi: Initialize group_handle of NetGroupSetUsers_r(). Found by Coverity. Signed-off-by: Andreas Schneider Reviewed-by: Guenther Deschner --- source3/lib/netapi/group.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/lib') 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; -- cgit