Commits (2)
OpenLDAP 2.5 Change Log
OpenLDAP 2.5.7 Engineering
Fixed slapd-mdb multival crash when attribute is missing an equality matchingrule (ITS#9621)
OpenLDAP 2.5.6 Release (2021/07/27)
Fixed libldap buffer overflow (ITS#9578)
......
......@@ -86,7 +86,7 @@ mdb_id2v_dupsort(
bv1.bv_val = usrkey[1].mv_data;
bv1.bv_len = usrkey[1].mv_size;
if (ad) {
if (ad && ad->ad_type->sat_equality) {
MatchingRule *mr = ad->ad_type->sat_equality;
rc = mr->smr_match(&match, SLAP_MR_EQUALITY
| SLAP_MR_VALUE_OF_ASSERTION_SYNTAX
......