mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
check sat_equality before using it (ITS#6943)
This commit is contained in:
parent
32792a4fbc
commit
052da7f8a2
1 changed files with 3 additions and 1 deletions
|
|
@ -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 a new issue