From: Quanah Gibson-Mount Date: Fri, 5 Sep 2008 21:05:37 +0000 (+0000) Subject: ITS#5684 X-Git-Tag: OPENLDAP_REL_ENG_2_4_12~57 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f4a186efa27c0f134764e74a6f2a6ad378cdfc2a;hp=c8f5588d9a4018b41ca01b51df3ea82714a82113;p=openldap ITS#5684 --- diff --git a/CHANGES b/CHANGES index 971b8950e7..02fa6045d2 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,7 @@ OpenLDAP 2.4.12 Engineering Fixed slapd aci performance (ITS#5636) Fixed slapd aci's with sets (ITS#5627) Fixed slapd attribute leak (ITS#5683) + Fixed slapd config backend with index greater than sibs (ITS#5684) Fixed slapd custom attribute inheritance (ITS#5642) Fixed slapd dynacl mask handling (ITS#5637) Fixed slapd firstComponentMatch normalization (ITS#5634) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index a27299e4e8..fe8347478e 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -3881,7 +3881,7 @@ check_name_index( CfEntryInfo *parent, ConfigType ce_type, Entry *e, if ( isconfig && index == -1 ) { index = 0; } - if ( !isfrontend && index == -1 ) { + if (( !isfrontend && index == -1 ) || ( index > nsibs ) ){ index = nsibs; }