summaryrefslogtreecommitdiffstats
path: root/tests/ts/column/table
diff options
context:
space:
mode:
authorSami Kerola2019-07-27 19:55:01 +0200
committerSami Kerola2019-07-27 20:00:34 +0200
commitb5f376d11d9f9e25be32920705bd5ee54684ca36 (patch)
tree3d5a956b9fbec0fcd6039fff81a710bf8c7bfccc /tests/ts/column/table
parentlscpu: (man) add note about cache sizes (diff)
downloadkernel-qcow2-util-linux-b5f376d11d9f9e25be32920705bd5ee54684ca36.tar.gz
kernel-qcow2-util-linux-b5f376d11d9f9e25be32920705bd5ee54684ca36.tar.xz
kernel-qcow2-util-linux-b5f376d11d9f9e25be32920705bd5ee54684ca36.zip
lscpu: prefer memcpy() to manual pointer arithmetic
With pointer arithmetic clang address sanitizer gives following error this change addresses. Notice the following happens only when running as root. sys-utils/lscpu-dmi.c:83:14: runtime error: load of misaligned address 0x55a1d62f3d1d for type 'const uint16_t' (aka 'const unsigned short'), which requires 2 byte alignment Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'tests/ts/column/table')
0 files changed, 0 insertions, 0 deletions