In article <[email protected]>, Kamil Rytarowski <[email protected]> wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: kamil >Date: Wed Nov 6 13:07:32 UTC 2019 > >Modified Files: > src/sys/kern: subr_disk_mbr.c > >Log Message: >Avoid unaligned pointer arithmetic in check_label_magic() > >Replace the logic of calculating the address with with base + offset. > >Reported by GCC8. > >Reported-by: >[email protected]
I consider this a false positive and the new code less readable. This looks more like "appease the sanitizer"... christos
