git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4799f5
)
r22744: Fix a valgrind error. parse_domain_username does not necessarily fill in
author
Volker Lendecke
<vlendec@samba.org>
Mon, 7 May 2007 13:39:25 +0000
(13:39 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:21:53 +0000
(12:21 -0500)
the domain.
(This used to be commit
f4f0d7137758cc674876517590807cc3d634043d
)
source3/nsswitch/winbindd_group.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_group.c
b/source3/nsswitch/winbindd_group.c
index f52179022446c5da2494703fc5e946747cc798ac..21ad73a70e1380c2e12983b692b74ab21ffcdab8 100644
(file)
--- 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);