From: Mark Valence Date: Wed, 14 Jun 2000 06:07:06 +0000 (+0000) Subject: Bug hunting -- crash when doing substring match. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2650 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6a43d24f48cd520ae6b9f7b4703532bcca744331;p=openldap Bug hunting -- crash when doing substring match. --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 96e3fdbdf8..e604cf4a61 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -686,7 +686,7 @@ caseIgnoreIA5SubstringsMatch( } if( sub->sa_any ) { for(i=0; sub->sa_any[i]; i++) { - inlen += sub->sa_final->bv_len; + inlen += sub->sa_any[i]->bv_len; } } if( sub->sa_final ) {