diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-06-25 13:24:47 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-06-25 17:37:56 +0200 |
commit | f09d9d3cbbb39f94fe9a43b0d90c370d33beafb2 (patch) | |
tree | fbe629d8a8ecac46b205b8e4dac93a683e6ceec6 /include/rbtree.h | |
parent | 9ba4d7a122dfc4e3e03d0112ad03115b3065a238 (diff) |
libcommon: remove potentially un-aligned access in LZO compressor
When accessing the 16 bit header, don't cast the buffer pointer to an
uint16_t pointer, the result might not be aligned propperly. Instead
memcpy to and from an uint16_t.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/rbtree.h')
0 files changed, 0 insertions, 0 deletions