mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 23:19:59 -05:00
ITS#7191 Fix mdb_xcursor_init1() unaligned access
This commit is contained in:
parent
1b07b48c1a
commit
d8b4598085
1 changed files with 1 additions and 2 deletions
|
|
@ -4701,8 +4701,7 @@ mdb_xcursor_init1(MDB_cursor *mc, MDB_node *node)
|
|||
MDB_xcursor *mx = mc->mc_xcursor;
|
||||
|
||||
if (node->mn_flags & F_SUBDATA) {
|
||||
MDB_db *db = NODEDATA(node);
|
||||
mx->mx_db = *db;
|
||||
memcpy(&mx->mx_db, NODEDATA(node), sizeof(MDB_db));
|
||||
mx->mx_cursor.mc_snum = 0;
|
||||
mx->mx_cursor.mc_flags = C_SUB;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue