mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
fdr: confVal load can be unaligned
This commit is contained in:
parent
f0825b4d3f
commit
1a373d0619
@ -355,7 +355,7 @@ void do_confirm_fdr(u64a *conf, u8 offset, hwlmcb_rv_t *controlVal,
|
|||||||
ptr_main + byte - a->buf, id, a->ctxt);
|
ptr_main + byte - a->buf, id, a->ctxt);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
u64a confVal = *(const u64a *)(confLoc + byte - sizeof(u64a));
|
u64a confVal = unaligned_load_u64a(confLoc + byte - sizeof(u64a));
|
||||||
confWithBit(fdrc, a, ptr_main - a->buf + byte, pullback,
|
confWithBit(fdrc, a, ptr_main - a->buf + byte, pullback,
|
||||||
control, last_match_id, confVal);
|
control, last_match_id, confVal);
|
||||||
} while (unlikely(!!*conf));
|
} while (unlikely(!!*conf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user