Skip to content
Snippets Groups Projects
Commit c927bd70 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

To be safe (see ITS#5328), set hasSubordinates before be_has_subordinates()

parent 5c429c8f
No related branches found
No related tags found
No related merge requests found
......@@ -546,7 +546,7 @@ test_ava_filter(
if ( ava->aa_desc == slap_schema.si_ad_hasSubordinates
&& op && op->o_bd && op->o_bd->be_has_subordinates )
{
int hasSubordinates;
int hasSubordinates = 0;
struct berval hs;
if( type != LDAP_FILTER_EQUALITY &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment