[PATCH 0/2] uncompress: lz4 fixes

Sascha Hauer s.hauer at pengutronix.de
Thu May 22 11:59:03 PDT 2025


This fixes two bugs in LZ4 decompression. The first is a bug we derived
from Linux and was fixed there back in 2014. The second is a general bug
in uncompress_fd_to_fd() but seems to hit only in the LZ4 case. Both
bugs are relevant only for the uncompress command, but not when LZ4 is
used for compiled in binaries.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
Sascha Hauer (2):
      initrd: fix lz4 decompress with initrd
      uncompress: fix prebuffering

 lib/decompress_unlz4.c | 65 +++++++++++++++++++++++++++++++++-----------------
 lib/uncompress.c       |  7 +++---
 2 files changed, 47 insertions(+), 25 deletions(-)
---
base-commit: dbc28aa3aad573f6ed0199c4fb85295b95e3bd11
change-id: 20250522-uncompress-fixes-d94b645acaad

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list