diff options
author | Andreas Schneider <asn@samba.org> | 2012-12-06 17:04:47 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2012-12-12 09:42:33 +0100 |
commit | f1fe877d07d6b1d04e9bbbec558bad90a855ae95 (patch) | |
tree | 07be2b05b20c727ae8d9d364f66a85e5cf4a35b9 | |
parent | 7d20934693174deac1f94a250ee9a2d39a7a8c8c (diff) | |
download | samba-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>
-rw-r--r-- | source3/lib/netapi/group.c | 1 |
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; |