mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-11-27 02:22:00 +08:00
fixes ITS#1367 for REL_ENG
This commit is contained in:
parent
bd7f9ba1da
commit
d1fb80f738
@ -169,7 +169,12 @@ ldap_send_entry(
|
||||
continue;
|
||||
attr->a_next = 0;
|
||||
attr->a_desc = NULL;
|
||||
slap_str2ad(a, &attr->a_desc, &text);
|
||||
if (slap_str2ad(a, &attr->a_desc, &text) != LDAP_SUCCESS) {
|
||||
if (slap_str2undef_ad(a, &attr->a_desc, &text) != LDAP_SUCCESS) {
|
||||
ch_free(attr);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
attr->a_vals = ldap_get_values_len(lc->ld, e, a);
|
||||
if (!attr->a_vals)
|
||||
attr->a_vals = &dummy;
|
||||
|
Loading…
Reference in New Issue
Block a user