summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-08-18 16:15:21 +0000
committerGünther Deschner <gd@samba.org>2004-08-18 16:15:21 +0000
commitfe808e5e045fd43008773ca61e0fafa919eedda9 (patch)
tree9a53b2e18d690a085959acd1482d3a28b9b529b3 /source/nsswitch
parent32f7e8f3995b38a10f64720f3d30fccddd55396f (diff)
downloadsamba-fe808e5e045fd43008773ca61e0fafa919eedda9.tar.gz
samba-fe808e5e045fd43008773ca61e0fafa919eedda9.tar.xz
samba-fe808e5e045fd43008773ca61e0fafa919eedda9.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++;