diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2018-03-15 23:08:18 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2018-03-15 23:10:10 -0700 |
commit | 9540016f6d9e56bc02cc98218c930e00efd3f67c (patch) | |
tree | 271d302a5d2521fe61796a18eda326b76498b657 /tests/test_header_guard.cpp | |
parent | 15fdb838c7361bad786098a05745edcd61c47de2 (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_header_guard.cpp')
0 files changed, 0 insertions, 0 deletions