mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Bug hunting -- hang when checking dnattr in ACL.
This commit is contained in:
parent
6a43d24f48
commit
0ebf86f2d3
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user