diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-09-11 08:22:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:03:34 -0500 |
commit | 8b1d990fdd97f52a76c131c21d51a4b3bdd077a6 (patch) | |
tree | 5d2741aa0d12a6fbedcf2f10e4f10079e0408fa9 | |
parent | 74622a761243adc72ac955e33227a5801552ee99 (diff) | |
download | samba-8b1d990fdd97f52a76c131c21d51a4b3bdd077a6.tar.gz samba-8b1d990fdd97f52a76c131c21d51a4b3bdd077a6.tar.bz2 samba-8b1d990fdd97f52a76c131c21d51a4b3bdd077a6.zip |
r10152: 64-bit fix for bug #3082. Thanks to Robin Hill for tracking this down with
valgrind.
Jerry, if this patch proves to fix his problem, it is definitely a candidate
for the recommended patches page.
Volker
(This used to be commit 5232034b0daca8486fd55e53c2d910e4fbf0299d)
-rw-r--r-- | source3/nsswitch/winbindd_group.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c index eb2adde98b..cc8af6adcf 100644 --- a/source3/nsswitch/winbindd_group.c +++ b/source3/nsswitch/winbindd_group.c @@ -1148,7 +1148,9 @@ enum winbindd_result winbindd_dual_getuserdomgroups(struct winbindd_domain *doma DOM_SID user_sid; NTSTATUS status; - int i, num_groups, len, bufsize; + int i, num_groups; + size_t bufsize; + ssize_t len; DOM_SID *groups; /* Ensure null termination */ |