Commit 0ebf86f2 authored by Mark Valence's avatar Mark Valence
Browse files

Bug hunting -- hang when checking dnattr in ACL.

parent 6a43d24f
......@@ -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 */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment