From aa8f306fa545af653d8288919fa5a3b80f447bec Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Fri, 16 Feb 2007 20:27:30 +0000 Subject: [PATCH] r21399: need to zero the request and response structures --- source/nsswitch/wbinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/nsswitch/wbinfo.c b/source/nsswitch/wbinfo.c index 826b4fc0404..3ae97cfea0a 100644 --- a/source/nsswitch/wbinfo.c +++ b/source/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 -- 2.11.4.GIT