clamav icon indicating copy to clipboard operation
clamav copied to clipboard

cli_check_mydoom_log: Avoid unaligned access.

Open sebastianas opened this issue 7 months ago • 2 comments

fmap_need_off_once() may return an unaligned pointer. This in return leads to an unaligned access during the load of the uint32_t variables loading to failures on architectures not supporting unaligned access.

This was reported to the Debian BTS as #1073128.

[bigeasy: Commit message, reworked the patch a bit].

Link: https://bugs.debian.org/1073128

sebastianas avatar Jun 27 '24 19:06 sebastianas