patch 8.0.0183: ubsan warns for unaligned address v8.0.0183
authorBram Moolenaar <Bram@vim.org>
Sat, 14 Jan 2017 16:04:38 +0000 (17:04 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 14 Jan 2017 16:04:38 +0000 (17:04 +0100)
commit7173b47958a238bb07f80b8f26fb232b0ea69b4a
tree3573adaedc038f24b6b4ff939b8b582dbe8608c0
parente47683a0913f102b6ae08c8848d5aa675d99b188
patch 8.0.0183: ubsan warns for unaligned address

Problem:    Ubsan warns for using a pointer that is not aligned.
Solution:   First copy the address. (Yegappan Lakshmanan)
src/channel.c
src/version.c