git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc9fa1a
)
s3-netapi: Initialize group_handle of NetUserSetGroups_r.
author
Andreas Schneider
<asn@samba.org>
Thu, 6 Dec 2012 17:15:12 +0000
(18:15 +0100)
committer
Gü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/user.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/user.c
b/source3/lib/netapi/user.c
index 3003a3939717973e505ecd1763abaeca97d8e251..dfcbb095a9bb3fc45ea270f8674a674326b3f4ed 100644
(file)
--- a/
source3/lib/netapi/user.c
+++ b/
source3/lib/netapi/user.c
@@
-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;