summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2007-02-16 20:27:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:02 -0500
commit9162cb768481a1fd404d3355a92f672bdda580a4 (patch)
tree655e3cd3035707f34a3841874d9ddf7361526bdd
parent6432e901c72f533d61a7f9b9ba35203bd9357f8d (diff)
downloadsamba-9162cb768481a1fd404d3355a92f672bdda580a4.tar.gz
samba-9162cb768481a1fd404d3355a92f672bdda580a4.tar.bz2
samba-9162cb768481a1fd404d3355a92f672bdda580a4.zip
r21399: need to zero the request and response structures
(This used to be commit aa8f306fa545af653d8288919fa5a3b80f447bec)
-rw-r--r--source3/nsswitch/wbinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c
index 826b4fc040..3ae97cfea0 100644
--- 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