mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] uncompress: lz4 fixes
@ 2025-05-22 18:59 Sascha Hauer
  2025-05-22 18:59 ` [PATCH 1/2] initrd: fix lz4 decompress with initrd Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sascha Hauer @ 2025-05-22 18:59 UTC (permalink / raw)
  To: BAREBOX

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@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@pengutronix.de>




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-05-26 13:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-22 18:59 [PATCH 0/2] uncompress: lz4 fixes Sascha Hauer
2025-05-22 18:59 ` [PATCH 1/2] initrd: fix lz4 decompress with initrd Sascha Hauer
2025-05-22 18:59 ` [PATCH 2/2] uncompress: fix prebuffering Sascha Hauer
2025-05-26 13:48 ` [PATCH 0/2] uncompress: lz4 fixes Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox