Author: vlendec Date: 2005-09-11 08:22:55 +0000 (Sun, 11 Sep 2005) New Revision: 10152
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10152 Log: 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 Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_group.c Changeset: Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_group.c =================================================================== --- branches/SAMBA_3_0/source/nsswitch/winbindd_group.c 2005-09-11 05:18:14 UTC (rev 10151) +++ branches/SAMBA_3_0/source/nsswitch/winbindd_group.c 2005-09-11 08:22:55 UTC (rev 10152) @@ -1148,7 +1148,9 @@ 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 */
