On Sun, Jan 15, 2023 at 12:19:50AM +1100, Daniel Axtens wrote:
> Oops. You're allowed to have up to n = NAT_JOURNAL_ENTRIES entries
> _inclusive_, because the loop below uses i < n, not i <= n. D'oh.
>
> Fixes: 4bd9877f6216 ("fs/f2fs: Do not read past the end of nat journal
> entries")
> Reported-
Oops. You're allowed to have up to n = NAT_JOURNAL_ENTRIES entries
_inclusive_, because the loop below uses i < n, not i <= n. D'oh.
Fixes: 4bd9877f6216 ("fs/f2fs: Do not read past the end of nat journal entries")
Reported-by: программист нект
Tested-by: программист нект
Signed-off-by: Daniel Ax