From 51eafb32bc8c4e445007af1db5acaa9d5fdc1088 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 23 Jul 2015 10:52:43 -0700 Subject: [PATCH] s3: winbindd: Fix TALLOC_FREE of uninitialized groups variable. Fix created by by: wei zhong Only for 4.2.x and below, master code already fixed. Signed-off-by: Jeremy Allison --- source3/winbindd/winbindd_dual_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c index c19179d..bff310a 100644 --- a/source3/winbindd/winbindd_dual_srv.c +++ b/source3/winbindd/winbindd_dual_srv.c @@ -381,7 +381,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; -- 2.4.3.573.g4eafbef