From: Luke Howard Date: Thu, 24 Apr 2003 10:51:42 +0000 (+0000) Subject: Fix another crasher in attr_merge_normalize_one() X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~253 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5178355d27f922b701b6016c657fbb62cf5dd334;p=openldap Fix another crasher in attr_merge_normalize_one() --- diff --git a/servers/slapd/attr.c b/servers/slapd/attr.c index 3c5f77d601..8a1121ce03 100644 --- a/servers/slapd/attr.c +++ b/servers/slapd/attr.c @@ -233,7 +233,7 @@ attr_merge_normalize_one( struct berval *nvalp; int rc; - if ( desc->ad_type->sat_equality->smr_normalize ) { + if ( desc->ad_type->sat_equality && desc->ad_type->sat_equality->smr_normalize ) { rc = (*desc->ad_type->sat_equality->smr_normalize)( 0, desc->ad_type->sat_syntax,