mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
don't denormalize invalid values (ITS#5386)
This commit is contained in:
parent
cd753a1f58
commit
a20f8b5f97
@ -608,7 +608,9 @@ filter2bv_x( Operation *op, Filter *f, struct berval *fstr )
|
||||
simple:
|
||||
value = f->f_av_value;
|
||||
if ( f->f_av_desc->ad_type->sat_equality &&
|
||||
( f->f_av_desc->ad_type->sat_equality->smr_usage & SLAP_MR_MUTATION_NORMALIZER )) {
|
||||
!undef &&
|
||||
( f->f_av_desc->ad_type->sat_equality->smr_usage & SLAP_MR_MUTATION_NORMALIZER ))
|
||||
{
|
||||
f->f_av_desc->ad_type->sat_equality->smr_normalize(
|
||||
(SLAP_MR_DENORMALIZE|SLAP_MR_VALUE_OF_ASSERTION_SYNTAX),
|
||||
NULL, NULL, &f->f_av_value, &value, op->o_tmpmemctx );
|
||||
|
Loading…
Reference in New Issue
Block a user