commit | 610a2cc7a38782bf2fa5c1037959a42838ebb2ad | [log] [tgz] |
---|---|---|
author | Wagner Popov dos Santos <wpopov@gmail.com> | Mon Feb 22 23:30:58 2021 -0300 |
committer | Tom Rini <trini@konsulko.com> | Wed Apr 07 10:22:22 2021 -0400 |
tree | 5a6b392ffa848995cd93ddb73f195c4ac3fc7f97 | |
parent | 02395fec007657c5beb4f7fd77784e10b3054c90 [diff] |
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>