summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-08-18 16:15:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:23 -0500
commita0a6d7d72f2a24c422db255acf6c439a9b0921df (patch)
treec0d2a8b67b1813a9ea99a930de6cd63c96befc19 /source/nsswitch
parent540daf71d8ad189af5dd6d45aa1ce2b3d67da752 (diff)
downloadsamba-a0a6d7d72f2a24c422db255acf6c439a9b0921df.tar.gz
samba-a0a6d7d72f2a24c422db255acf6c439a9b0921df.tar.xz
samba-a0a6d7d72f2a24c422db255acf6c439a9b0921df.zip
r1887: Fix deadlock loop in winbind's required_membership_sid-verification.
Guenther
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/winbindd_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_pam.c b/source/nsswitch/winbindd_pam.c
index 81d4e69ccd6..03947de8750 100644
--- a/source/nsswitch/winbindd_pam.c
+++ b/source/nsswitch/winbindd_pam.c
@@ -123,7 +123,7 @@ static NTSTATUS check_info3_in_group(TALLOC_CTX *mem_ctx,
http://www.microsoft.com/windows2000/techinfo/administration/security/sidfilter.asp
*/
- for (i = 0; i < info3->num_other_sids; j++) {
+ for (i = 0; i < info3->num_other_sids; i++) {
sid_copy(&all_sids[info3->num_groups2 + i + 2],
&info3->other_sids[j].sid);
j++;