lib:compression: Fix undefined behavior in lzxpress
commitaab5034a9ddc57ee9ce14ce584e53bd9b96b7a58
authorAndreas Schneider <asn@samba.org>
Thu, 22 Nov 2018 14:11:09 +0000 (22 15:11 +0100)
committerGary Lockyer <gary@samba.org>
Thu, 22 Nov 2018 21:13:27 +0000 (22 22:13 +0100)
tree37bb1341747c95c90257bbc26cce2bc053978dd8
parent93ab0cef2a0f68788f77d8fce7e4f795e9921a9b
lib:compression: Fix undefined behavior in lzxpress

lib/compression/lzxpress.c:228 runtime error: store to misaligned
address 0x5631d53ca9fe for type 'uint32_t', which requires 4 byte
alignment

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/compression/lzxpress.c