Skip to content
Snippets Groups Projects
Commit c4f74ac6 authored by Howard Chu's avatar Howard Chu
Browse files

Fix crash in mra_free, freeing ber-private value.

parent 0614b5fd
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment