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

Fix slap_bv2ad initializing with wrong bv_len

parent 315ac069
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
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