s3-netapi: Initialize group_handle of NetGroupSetUsers_r().
authorAndreas Schneider <asn@samba.org>
Thu, 6 Dec 2012 16:04:47 +0000 (17:04 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 12 Dec 2012 08:42:33 +0000 (09:42 +0100)
Found by Coverity.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/lib/netapi/group.c

index 3c1618e77b98cee714d88853afa03650fb28a10e..9813f7eacb3639b975e0f710e07a48c9864c79e7 100644 (file)
@@ -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;