From: Howard Chu Date: Sat, 10 May 2008 00:28:03 +0000 (+0000) Subject: ITS#5503 integerFilter keys were not terminated X-Git-Tag: LOCKER_IDS~169 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8921793615da561fdb5b81a252a233e0a62580f8;p=openldap ITS#5503 integerFilter keys were not terminated --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index ab82c9df50..44175b7501 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -2273,6 +2273,8 @@ integerFilter( keys[0].bv_len = index_intlen; keys[0].bv_val = slap_sl_malloc( index_intlen, ctx ); + keys[1].bv_len = 0; + keys[1].bv_val = NULL; iv.bv_len = value->bv_len < index_intlen_strlen + INDEX_INTLEN_CHOP-1 ? value->bv_len : index_intlen_strlen + INDEX_INTLEN_CHOP-1;