[PATCH] JFFS2: fix the reading address over nand's limit

Tom Rini trini at konsulko.com
Thu Apr 8 01:05:47 CEST 2021


On Mon, Feb 22, 2021 at 11:30:58PM -0300, Wagner Popov dos Santos wrote:

> Fixes address violation in functions read_nand_cached() and
> read_onenand_cached(). This happens because these functions
> try to read a fixed amount
> of data even when the offset+length
> is above the nand's limit.
> 
> Signed-off-by: Wagner Popov dos Santos <wpopov at gmail.com>

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/20210407/9aad3e75/attachment.sig>


More information about the U-Boot mailing list