Commit 6f72de8c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix all user attributes bug

parent d631a3fd
......@@ -540,7 +540,9 @@ send_search_entry(
}
/* check for special all user attributes ("*") attribute */
allattrs = charray_inlist( attrs, LDAP_ALL_USER_ATTRIBUTES );
allattrs = attrs == NULL
? 1
: charray_inlist( attrs, LDAP_ALL_USER_ATTRIBUTES );
for ( a = e->e_attrs; a != NULL; a = a->a_next ) {
regmatch_t matches[MAXREMATCHES];
......
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