]> git.sur5r.net Git - openldap/commitdiff
Bug hunting -- hang when checking dnattr in ACL.
authorMark Valence <mrv@openldap.org>
Wed, 14 Jun 2000 06:08:20 +0000 (06:08 +0000)
committerMark Valence <mrv@openldap.org>
Wed, 14 Jun 2000 06:08:20 +0000 (06:08 +0000)
servers/slapd/acl.c

index d93d1c3ef48353a795c210b6118ce83ec9ebd293..faafc2652bdd493fbb5ebf4fc5d6bb48b2485585 100644 (file)
@@ -544,8 +544,8 @@ acl_mask(
 
                        /* see if asker is listed in dnattr */
                        for( at = attrs_find( e->e_attrs, b->a_dn_at );
-                               at == NULL;
-                               at = attrs_find( e->e_attrs->a_next, b->a_dn_at ) )
+                               at != NULL;
+                               at = attrs_find( at->a_next, b->a_dn_at ) )
                        {
                                if( value_find( b->a_dn_at, at->a_vals, &bv ) == 0 ) {
                                        /* found it */