From: Mark Valence Date: Sun, 2 Jul 2000 07:18:55 +0000 (+0000) Subject: Fix seg fault (test003). X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2493 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bf1c91b1650e3830d499f53c6050632075ca3b57;p=openldap Fix seg fault (test003). --- 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