[PATCH v2 26/28] fs/squashfs: sqfs_read: remove buggy offset functionality

Tom Rini trini at konsulko.com
Fri Nov 20 02:38:38 CET 2020


On Tue, Nov 03, 2020 at 12:11:24PM +0100, Richard Genoud wrote:

> offset is the offset in the file read, not the offset in the destination
> buffer.
> If the offset is not null, this will lead to a memory corruption.
> So, for now, we are returning an error if the offset is used.
> 
> Signed-off-by: Richard Genoud <richard.genoud at posteo.net>

Applied to u-boot/master, thanks!

-- 
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/20201119/2bf68295/attachment-0001.sig>


More information about the U-Boot mailing list