mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 03:59:34 -05:00
e_name.bv_len stuff in entry_decode
This commit is contained in:
parent
f0c9590e68
commit
b4b948c37b
1 changed files with 4 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue