summaryrefslogtreecommitdiff
path: root/lib/lz4
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 15:12:41 +0200
commit1e90bd919b8ed104e3c77e411ab32060b4a1e39e (patch)
treee15151ed1da1dc233ac5168a04caf34b441eb1da /lib/lz4
parentb409ddcec8c7ae304a7985e450b723fbb95cf4e9 (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/lz4')
0 files changed, 0 insertions, 0 deletions