From f50ff7345d59743669a3a84f6fdd42d4f2f43a43 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 7 May 2007 13:39:25 +0000 Subject: r22744: Fix a valgrind error. parse_domain_username does not necessarily fill in the domain. (This used to be commit f4f0d7137758cc674876517590807cc3d634043d) --- source3/nsswitch/winbindd_group.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/nsswitch/winbindd_group.c') diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c index f521790224..21ad73a70e 100644 --- a/source3/nsswitch/winbindd_group.c +++ b/source3/nsswitch/winbindd_group.c @@ -494,6 +494,9 @@ void winbindd_getgrnam(struct winbindd_cli_state *state) memset(name_group, 0, sizeof(fstring)); tmp = state->request.data.groupname; + + name_domain[0] = '\0'; + name_group[0] = '\0'; parse_domain_user(tmp, name_domain, name_group); -- cgit