git.samba.org
/
jlayton
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d20934
)
s3-netapi: Initialize group_handle of NetGroupSetUsers_r().
author
Andreas Schneider
<asn@samba.org>
Thu, 6 Dec 2012 16:04:47 +0000
(17:04 +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/group.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/group.c
b/source3/lib/netapi/group.c
index 3c1618e77b98cee714d88853afa03650fb28a10e..9813f7eacb3639b975e0f710e07a48c9864c79e7 100644
(file)
--- 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;