OpenLDAP 2.4.20 Engineering
Fixed libldap uninitialized return value (ITS#6355)
Fixed slapd debug handling of LDAP_DEBUG_ANY (ITS#6324)
+ Fixed slapd-ldap leak (ITS#6326)
Documentation
ldap_get_dn(3) typos (ITS#5366)
( oc = oc_bvfind_undef( &attr->a_vals[i] ) ) != NULL )
{
ber_dupbv( &pval, &oc->soc_cname );
+ rc = LDAP_SUCCESS;
} else {
LBER_FREE( attr->a_vals[i].bv_val );
BER_BVZERO( &attr->a_vals[last] );
i--;
}
+ }
- } else if ( pretty ) {
+ if ( rc == LDAP_SUCCESS && pretty ) {
LBER_FREE( attr->a_vals[i].bv_val );
attr->a_vals[i] = pval;
}