From 7dde9e0b33357009bdd2ea01b595af9602ffe3b8 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 24 Aug 2005 01:36:16 +0000 Subject: [PATCH] Tweak prev commit, use BER_BVZERO --- servers/slapd/overlays/valsort.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/overlays/valsort.c b/servers/slapd/overlays/valsort.c index c5a14ffad5..68ad11035f 100644 --- a/servers/slapd/overlays/valsort.c +++ b/servers/slapd/overlays/valsort.c @@ -102,6 +102,7 @@ valsort_cf_func(ConfigArgs *c) { len += bv2.bv_len + 1; i ^= VALSORT_WEIGHTED; } + BER_BVZERO( &bv ); enum_to_verb( sorts, i, &bv ); len += bv.bv_len; bvret.bv_val = ch_malloc( len+1 ); -- 2.39.5