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

e_name.bv_len stuff in entry_decode

parent f0c9590e
No related branches found
No related tags found
No related merge requests found
......@@ -598,10 +598,12 @@ int entry_decode(struct berval *bv, Entry **e)
i = entry_getlen(&ptr);
x = ch_malloc(i);
i = entry_getlen(&ptr);
x->e_dn = ptr;
x->e_name.bv_val = ptr;
x->e_name.bv_len = i;
ptr += i+1;
i = entry_getlen(&ptr);
x->e_ndn = ptr;
x->e_nname.bv_val = ptr;
x->e_nname.bv_len = i;
ptr += i+1;
#ifdef NEW_LOGGING
LDAP_LOG(( "operation", LDAP_LEVEL_DETAIL2,
......
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