mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Fix crash in mra_free, freeing ber-private value.
This commit is contained in:
parent
0614b5fdbf
commit
c4f74ac639
1 changed files with 4 additions and 2 deletions
|
|
@ -276,8 +276,10 @@ get_mra(
|
|||
/*
|
||||
* Need to normalize, but how?
|
||||
*/
|
||||
ma->ma_value = value;
|
||||
rc = value_validate( ma->ma_rule, &ma->ma_value, text );
|
||||
rc = value_validate( ma->ma_rule, &value, text );
|
||||
if ( rc == LDAP_SUCCESS ) {
|
||||
ber_dupbv( &ma->ma_value, &value );
|
||||
}
|
||||
|
||||
}
|
||||
#endif /* SLAP_X_MRA_MATCH_DNATTRS */
|
||||
|
|
|
|||
Loading…
Reference in a new issue