]> git.ipfire.org Git - thirdparty/xz.git/commit
liblzma: Fix the encoder breakage on big endian ARM64
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 12 Jan 2025 10:59:20 +0000 (12:59 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 12 Jan 2025 11:11:07 +0000 (13:11 +0200)
commitf4d988bc045644788a47d8352fb26a28f4d269d5
tree9c8f043ee4138eb5aeef38cd4a5af3cedcc268b9
parente22c4fb2593760bbd60783e4e3f15bb4a303956f
liblzma: Fix the encoder breakage on big endian ARM64

When the 8-byte method was enabled for ARM64, a check for endianness
wasn't added. This broke the LZMA/LZMA2 encoder. Test suite caught it.

Fixes: cd64dd70d5665b6048829c45772d08606f44672e
Co-authored-by: Marcus Comstedt <marcus@mc.pp.se>
(cherry picked from commit 150356207c8d6a3e0af465b676430d19d62f884c)
src/liblzma/common/memcmplen.h