aboutsummaryrefslogtreecommitdiff
path: root/src/tests/common/host_memory.cpp
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2021-06-10 21:07:27 +0200
committerMarkus Wick <markus@selfnet.de>2021-06-10 21:07:27 +0200
commite7c2b054c198bcf7c39a2943f76c866be09aa7d7 (patch)
tree6e4dd0bc6f2feb5e10ac6f101883fd9cfaa27be5 /src/tests/common/host_memory.cpp
parent63bc3eef986b3f5f2ea6714103212386104198b7 (diff)
Fix GCC undefined behavior sanitizer.
* Wrong alignment in u64 LOG_DEBUG -> memcpy. * Huge shift exponent in stride calculation for linear buffer, unused result -> skipped. * Large shift in buffer cache if word = 0, skip checking for set bits. Non of those were critical, so this should not change any behavior. At least with the assumption, that the last one used masking behavior, which always yield continuous_bits = 0.
Diffstat (limited to 'src/tests/common/host_memory.cpp')
0 files changed, 0 insertions, 0 deletions