git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6432e90
)
r21399: need to zero the request and response structures
author
Herb Lewis
<herb@samba.org>
Fri, 16 Feb 2007 20:27:30 +0000
(20:27 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:18:02 +0000
(12:18 -0500)
(This used to be commit
aa8f306fa545af653d8288919fa5a3b80f447bec
)
source3/nsswitch/wbinfo.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/wbinfo.c
b/source3/nsswitch/wbinfo.c
index 826b4fc04042409e7ec3cedfd27be23ea6aa9a58..3ae97cfea0a4c15ad4bc57f3298347740bfa4f13 100644
(file)
--- a/
source3/nsswitch/wbinfo.c
+++ b/
source3/nsswitch/wbinfo.c
@@
-653,6
+653,9
@@
static BOOL wbinfo_lookuprids(char *domain, char *arg)
struct winbindd_request request;
struct winbindd_response response;
+ ZERO_STRUCT(request);
+ ZERO_STRUCT(response);
+
if ((domain == NULL) || (strequal(domain, ".")) || (domain[0] == '\0'))
fstrcpy(request.domain_name, get_winbind_domain());
else