diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-23 12:14:47 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-24 12:59:15 +1000 |
commit | 9735fcf71abbb23c4621f1371734b785b18fb075 (patch) | |
tree | 58964b462a4185415d4854c9e45878bb192a29d2 /hw/vas.c | |
parent | 70e6d803a61093a3d5a89500730e310c62e6de2f (diff) | |
download | talos-skiboot-9735fcf71abbb23c4621f1371734b785b18fb075.tar.gz talos-skiboot-9735fcf71abbb23c4621f1371734b785b18fb075.zip |
hdata: Reduce 'struct HDIF_array_hdr' alignment to 4 bytes
UBSan threw up the following:
hdata/test/../hdif.c:96:9: runtime error: member access within misaligned address 0x7f9ad8b02c18 for type 'const struct HDIF_array_hdr', which requires 16 byte alignment
0x7f9ad8b02c18: note: pointer points here
00 00 00 00 00 00 00 10 00 00 00 08 00 00 00 14 00 00 00 14 00 00 00 20 00 00 00 00 80 03 ff ff
^
Real data we're parsing doesn't enforce that alignment requirement,
so we shouldn't rely on it.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/vas.c')
0 files changed, 0 insertions, 0 deletions