]> git.sur5r.net Git - openldap/commitdiff
fix prev commit (ITS#5212)
authorHoward Chu <hyc@openldap.org>
Wed, 7 Nov 2007 04:02:21 +0000 (04:02 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 7 Nov 2007 04:02:21 +0000 (04:02 +0000)
servers/slapd/filter.c

index 8c11f81f5d3e2ed16c47594356a226b54e96e305..46a5c7a6d3572467640c23b6b55a3f7281136817 100644 (file)
@@ -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 );