From f4a186efa27c0f134764e74a6f2a6ad378cdfc2a Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Fri, 5 Sep 2008 21:05:37 +0000 Subject: [PATCH 1/1] ITS#5684 --- CHANGES | 1 + servers/slapd/bconfig.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5