From: Howard Chu Date: Wed, 7 Nov 2007 04:02:21 +0000 (+0000) Subject: fix prev commit (ITS#5212) X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~461 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=33616c51d60783d5e0b7d6a84a2f5568896326b1;p=openldap fix prev commit (ITS#5212) --- diff --git a/servers/slapd/filter.c b/servers/slapd/filter.c index 8c11f81f5d..46a5c7a6d3 100644 --- a/servers/slapd/filter.c +++ b/servers/slapd/filter.c @@ -607,7 +607,8 @@ filter2bv_x( Operation *op, Filter *f, struct berval *fstr ) simple: value = f->f_av_value; - if ( f->f_av_desc->ad_type->sat_equality->smr_usage & SLAP_MR_MUTATION_NORMALIZER ) { + if ( f->f_av_desc->ad_type->sat_equality && + f->f_av_desc->ad_type->sat_equality->smr_usage & SLAP_MR_MUTATION_NORMALIZER ) { f->f_av_desc->ad_type->sat_equality->smr_normalize( (SLAP_MR_DENORMALIZE|SLAP_MR_VALUE_OF_ASSERTION_SYNTAX), NULL, NULL, &f->f_av_value, &value, op->o_tmpmemctx );