]> 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:08:55 +0000 (13:08 +0200)
commit150356207c8d6a3e0af465b676430d19d62f884c
tree59e64aa8faa3def8346ac58cc3496092e6126a92
parentb01b0958025a2da284b53a583f313f8140636cb5
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>
src/liblzma/common/memcmplen.h