diff options
author | Gerald Carter <jerry@samba.org> | 2005-10-24 16:55:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:10 -0500 |
commit | 844290e9a02c4eb6013002c8d9e26356530b0f40 (patch) | |
tree | 7e844379f34655d4a7da17a0210077b6b07c9745 /source3 | |
parent | 9e7aa2fa6aeea0aff1163461f38728bf9396ef3e (diff) | |
download | samba-844290e9a02c4eb6013002c8d9e26356530b0f40.tar.gz samba-844290e9a02c4eb6013002c8d9e26356530b0f40.tar.bz2 samba-844290e9a02c4eb6013002c8d9e26356530b0f40.zip |
r11280: BUG 3201: make sure request structure is cleared prior to sending the request to winbindd (prevents the WB_RECURSE flags from accidentially getting set
(This used to be commit 8c63d6d8a7f50d9a101117338242a9c8b243b43f)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/wbinfo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c index 60f1d6b722..6436346668 100644 --- a/source3/nsswitch/wbinfo.c +++ b/source3/nsswitch/wbinfo.c @@ -117,6 +117,7 @@ static BOOL wbinfo_get_usergroups(char *user) NSS_STATUS result; int i; + ZERO_STRUCT(request); ZERO_STRUCT(response); /* Send request */ @@ -146,6 +147,7 @@ static BOOL wbinfo_get_usersids(char *user_sid) int i; const char *s; + ZERO_STRUCT(request); ZERO_STRUCT(response); /* Send request */ @@ -173,6 +175,7 @@ static BOOL wbinfo_get_userdomgroups(const char *user_sid) struct winbindd_response response; NSS_STATUS result; + ZERO_STRUCT(request); ZERO_STRUCT(response); /* Send request */ |