From bf1c91b1650e3830d499f53c6050632075ca3b57 Mon Sep 17 00:00:00 2001 From: Mark Valence Date: Sun, 2 Jul 2000 07:18:55 +0000 Subject: [PATCH] Fix seg fault (test003). --- servers/slapd/filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/filter.c b/servers/slapd/filter.c index 3363f75ca6..902b94c7f3 100644 --- a/servers/slapd/filter.c +++ b/servers/slapd/filter.c @@ -696,7 +696,7 @@ int escape_value( assert( in ); assert( out ); - out->bv_val = (char *) ch_malloc( in->bv_len * 3 ) + 1; + out->bv_val = (char *) ch_malloc( ( in->bv_len * 3 ) + 1 ); out->bv_len = 0; #undef NIBBLE -- 2.39.5