diff options
author | Wagner Popov dos Santos <wpopov@gmail.com> | 2021-02-22 23:30:58 -0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-07 10:22:22 -0400 |
commit | 610a2cc7a38782bf2fa5c1037959a42838ebb2ad (patch) | |
tree | 5a6b392ffa848995cd93ddb73f195c4ac3fc7f97 /include/bios_emul.h | |
parent | 02395fec007657c5beb4f7fd77784e10b3054c90 (diff) | |
download | u-boot-610a2cc7a38782bf2fa5c1037959a42838ebb2ad.tar.gz u-boot-610a2cc7a38782bf2fa5c1037959a42838ebb2ad.tar.xz u-boot-610a2cc7a38782bf2fa5c1037959a42838ebb2ad.zip |
JFFS2: fix the reading address over nand's limit
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@gmail.com>
Diffstat (limited to 'include/bios_emul.h')
0 files changed, 0 insertions, 0 deletions