From 18905416c9d03f684d66778cde7d0815689dd714 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 20 May 2009 21:42:13 +0000 Subject: [PATCH] To be safe (see ITS#5328), set hasSubordinates before be_has_subordinates() --- servers/slapd/filterentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/filterentry.c b/servers/slapd/filterentry.c index aff8da2cc4..1d3f4fe885 100644 --- a/servers/slapd/filterentry.c +++ b/servers/slapd/filterentry.c @@ -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 && -- 2.39.5