summaryrefslogtreecommitdiff
path: root/lib/sqfs/unix/io_file.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-25 13:24:47 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-25 17:37:56 +0200
commitf09d9d3cbbb39f94fe9a43b0d90c370d33beafb2 (patch)
treefbe629d8a8ecac46b205b8e4dac93a683e6ceec6 /lib/sqfs/unix/io_file.c
parent9ba4d7a122dfc4e3e03d0112ad03115b3065a238 (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 'lib/sqfs/unix/io_file.c')
0 files changed, 0 insertions, 0 deletions