diff options
author | Sami Kerola | 2019-07-14 11:17:32 +0200 |
---|---|---|
committer | Sami Kerola | 2019-07-14 12:53:59 +0200 |
commit | f55dd4cc2dadfa74e5a207a4058489fa4d10387a (patch) | |
tree | c2335b506b9ca3bba3bd17ca85a73ff1e3079d31 /util-linux.doap | |
parent | libblkid: check number of test_blkid_save arguments correctly (diff) | |
download | kernel-qcow2-util-linux-f55dd4cc2dadfa74e5a207a4058489fa4d10387a.tar.gz kernel-qcow2-util-linux-f55dd4cc2dadfa74e5a207a4058489fa4d10387a.tar.xz kernel-qcow2-util-linux-f55dd4cc2dadfa74e5a207a4058489fa4d10387a.zip |
libblkid: fix address sanitizer issues
With aligned attribute many blkid tests fail with following error. So
instead of aligning to 4K add padding that makes the struct same size
without causing asan trip over.
libblkid/src/superblocks/drbd.c:179:6: runtime error: member access
within misaligned address 0x55913d7e6958 for type 'struct
meta_data_on_disk_9', which requires 4096 byte alignment
In zfs structure it seems compiler is adding padding, that does not mix well
with be32_to_cpu() and other bit operations.
libblkid/src/superblocks/zfs.c:109:23: runtime error: load of misaligned
address 0x7ff6406540e4 for type 'uint32_t' (aka 'unsigned int'), which
requires 8 byte alignment
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'util-linux.doap')
0 files changed, 0 insertions, 0 deletions