From 8921793615da561fdb5b81a252a233e0a62580f8 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 10 May 2008 00:28:03 +0000 Subject: [PATCH] ITS#5503 integerFilter keys were not terminated --- servers/slapd/schema_init.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5