From 8b1d990fdd97f52a76c131c21d51a4b3bdd077a6 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 11 Sep 2005 08:22:55 +0000 Subject: 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) --- source3/nsswitch/winbindd_group.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd_group.c') 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 */ -- cgit