mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-17 12:24:19 -05:00
Fix slap_bv2ad initializing with wrong bv_len
This commit is contained in:
parent
315ac06912
commit
80f67ef11e
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ done:;
|
|||
d2 = ch_malloc(sizeof(AttributeDescription) + dlen + 1);
|
||||
d2->ad_type = desc.ad_type;
|
||||
d2->ad_flags = desc.ad_flags;
|
||||
d2->ad_cname.bv_len = desc.ad_cname.bv_len;
|
||||
d2->ad_cname.bv_len = desc.ad_type->sat_cname.bv_len;
|
||||
d2->ad_lang.bv_len = desc.ad_lang.bv_len;
|
||||
|
||||
if (dlen == 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue