[PATCH] fs/squashfs: fix reading of fragmented files

Tom Rini trini at konsulko.com
Wed Jun 9 20:48:40 CEST 2021


On Wed, Jun 09, 2021 at 03:21:54PM -0300, João Marcos Costa wrote:

> Hello,
> 
> In fact, I really think this patch should be applied to master as soon
> as possible, since the actual unsafety comes from the current code,
> which may read past the fragment_block buffer size.
> Besides, the patch series I sent to rewrite the test suite needs this
> fix, and the current test suite is error-prone, as it was already
> reported.

OK.  So, some local testing shows that we'll need to move the CI images
up to a newer base in order to have mksquashfs new enough to support
zstd.  Today I guess the failure is just ignored (not great!).  I'll
take the bugfix now and we'll do the tests soon.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210609/06978079/attachment.sig>


More information about the U-Boot mailing list