mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
check sat_equality before using it (ITS#6943)
This commit is contained in:
parent
32792a4fbc
commit
052da7f8a2
@ -462,7 +462,9 @@ map_attr_value(
|
||||
return -1;
|
||||
}
|
||||
|
||||
} else if ( ad->ad_type->sat_equality->smr_usage & SLAP_MR_MUTATION_NORMALIZER ) {
|
||||
} else if ( ad->ad_type->sat_equality &&
|
||||
( ad->ad_type->sat_equality->smr_usage & SLAP_MR_MUTATION_NORMALIZER ) )
|
||||
{
|
||||
if ( ad->ad_type->sat_equality->smr_normalize(
|
||||
(SLAP_MR_DENORMALIZE|SLAP_MR_VALUE_OF_ASSERTION_SYNTAX),
|
||||
NULL, NULL, value, &vtmp, memctx ) )
|
||||
|
Loading…
Reference in New Issue
Block a user