diff options
author | Jeremy Allison <jra@samba.org> | 2015-07-23 10:52:43 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2015-08-31 23:35:54 +0200 |
commit | 487c3b3435becb59848fadf25f268cba6e03ef1c (patch) | |
tree | 1eb92211e832c23462804a29bf0da7910e28761b | |
parent | 711131ea3df7ab7decc33d035c0b395caadbfe5c (diff) | |
download | samba-487c3b3435becb59848fadf25f268cba6e03ef1c.tar.gz |
s3: winbindd: Fix TALLOC_FREE of uninitialized groups variable.
Fix created by by: wei zhong <wweyeww@gmail.com>
Only for 4.2.x and below, master code already fixed.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10823
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-1-test): Mon Aug 31 23:35:54 CEST 2015 on sn-devel-104
-rw-r--r-- | source3/winbindd/winbindd_dual_srv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c index 911fd7565b6..2df4af7468f 100644 --- a/source3/winbindd/winbindd_dual_srv.c +++ b/source3/winbindd/winbindd_dual_srv.c @@ -380,7 +380,7 @@ NTSTATUS _wbint_QueryGroupList(struct pipes_struct *p, { struct winbindd_domain *domain = wb_child_domain(); uint32_t i, num_groups; - struct wb_acct_info *groups; + struct wb_acct_info *groups = NULL; struct wbint_Principal *result; NTSTATUS status; |