Skip to content
Snippets Groups Projects
Commit 9540016f authored by Arseny Kapoulkine's avatar Arseny Kapoulkine
Browse files

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.
parent 15fdb838
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment