From: Howard Chu Date: Tue, 5 Nov 2013 15:34:30 +0000 (-0800) Subject: ITS#7739 fix for empty nested include X-Git-Tag: OPENLDAP_REL_ENG_2_4_38~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;ds=sidebyside;h=0240fd969df00e2c05082fb3264f4d0cd4c28665;hp=9b9cc5d68bdb5db70cd6cff32a6e27ddd29e0e70;p=openldap ITS#7739 fix for empty nested include --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 8d4592440c..30555a4e3c 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -6550,7 +6550,7 @@ config_build_schema_inc( ConfigArgs *c, CfEntryInfo *ceparent, for (; cf; cf=cf->c_sibs, c->depth++) { if ( !cf->c_at_head && !cf->c_cr_head && !cf->c_oc_head && - !cf->c_om_head && !cf->c_syn_head ) continue; + !cf->c_om_head && !cf->c_syn_head && !cf->c_kids ) continue; c->value_dn.bv_val = c->log; LUTIL_SLASHPATH( cf->c_file.bv_val ); bv.bv_val = strrchr(cf->c_file.bv_val, LDAP_DIRSEP[0]);