mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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>
This commit is contained in:
parent
dc9fa1a026
commit
d020c51978
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user