]> git.sur5r.net Git - openldap/commitdiff
Fix another crasher in attr_merge_normalize_one()
authorLuke Howard <lukeh@openldap.org>
Thu, 24 Apr 2003 10:51:42 +0000 (10:51 +0000)
committerLuke Howard <lukeh@openldap.org>
Thu, 24 Apr 2003 10:51:42 +0000 (10:51 +0000)
servers/slapd/attr.c

index 3c5f77d60155d2aa262de8776c7939e7c756397c..8a1121ce034241998480900e8cd92b5428482e3c 100644 (file)
@@ -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,