From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Subject: [PATCH 0/2] uncompress: lz4 fixes
Date: Thu, 22 May 2025 20:59:03 +0200 [thread overview]
Message-ID: <20250522-uncompress-fixes-v1-0-18e796fa5e45@pengutronix.de> (raw)
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>
next reply other threads:[~2025-05-22 19:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-22 18:59 Sascha Hauer [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250522-uncompress-fixes-v1-0-18e796fa5e45@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox