summaryrefslogtreecommitdiff
path: root/tests/test_version.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2018-03-15 23:08:18 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2018-03-15 23:10:10 -0700
commit9540016f6d9e56bc02cc98218c930e00efd3f67c (patch)
tree271d302a5d2521fe61796a18eda326b76498b657 /tests/test_version.cpp
parent15fdb838c7361bad786098a05745edcd61c47de2 (diff)
ubsan: Fix type mismatch for xml_extra_buffer in compact mode
We were using allocate_memory to allocate struct xml_extra_buffer that contains pointers; with compact mode, this allocation can be misaligned by 4b with 8b pointers; fix this by manually realigning the pointer.
Diffstat (limited to 'tests/test_version.cpp')
0 files changed, 0 insertions, 0 deletions