From: Tom Rini Date: Wed, 7 Apr 2021 19:05:47 -0400 Subject: [PATCH] JFFS2: fix the reading address over nand's limit In-Reply-To: <518786c46f01890819e44f06647de5bf3c47fe05.camel@gmail.com> References: <518786c46f01890819e44f06647de5bf3c47fe05.camel@gmail.com> Message-ID: <20210407230547.GY1310@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: