diff options
author | Herb Lewis <herb@samba.org> | 2007-02-16 20:27:30 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2007-02-16 20:27:30 +0000 |
commit | 6c8b30728c855341e4654c9bcb9efb424579764d (patch) | |
tree | 0cfff37a2257612c1589b8a06e3a2d123ba94920 /source/nsswitch/wbinfo.c | |
parent | 42867e3a5b9660a1baf2a8cfc8977f979bcbffa3 (diff) | |
download | samba-6c8b30728c855341e4654c9bcb9efb424579764d.tar.gz samba-6c8b30728c855341e4654c9bcb9efb424579764d.tar.xz samba-6c8b30728c855341e4654c9bcb9efb424579764d.zip |
r21399: need to zero the request and response structures
Diffstat (limited to 'source/nsswitch/wbinfo.c')
-rw-r--r-- | source/nsswitch/wbinfo.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |