From 5178355d27f922b701b6016c657fbb62cf5dd334 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Thu, 24 Apr 2003 10:51:42 +0000 Subject: [PATCH] Fix another crasher in attr_merge_normalize_one() --- servers/slapd/attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5