mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
Fix alignment issues in hdb_dn2idl_internal
This commit is contained in:
parent
99d2b7e7e9
commit
d7771374e2
1 changed files with 3 additions and 1 deletions
|
|
@ -995,9 +995,11 @@ hdb_dn2idl_internal(
|
|||
if (j) {
|
||||
EntryInfo *ei2;
|
||||
diskNode *d = (diskNode *)j;
|
||||
short nrlen;
|
||||
|
||||
AC_MEMCPY( &ei.bei_id, &d->entryID, sizeof(ID) );
|
||||
AC_MEMCPY( &ei.bei_nrdn.bv_len, &d->nrdnlen, sizeof(d->nrdnlen) );
|
||||
AC_MEMCPY( &nrlen, &d->nrdnlen, sizeof(d->nrdnlen) );
|
||||
ei.bei_nrdn.bv_len = nrlen;
|
||||
/* nrdn/rdn are set in-place.
|
||||
* hdb_cache_load will copy them as needed
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue