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
......@@ -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 &&
......
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