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 15:12:41 +0200 |
commit | 1e90bd919b8ed104e3c77e411ab32060b4a1e39e (patch) | |
tree | e15151ed1da1dc233ac5168a04caf34b441eb1da /bin/rdsquashfs/rdsquashfs.c | |
parent | b409ddcec8c7ae304a7985e450b723fbb95cf4e9 (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 'bin/rdsquashfs/rdsquashfs.c')
0 files changed, 0 insertions, 0 deletions