Searched hist:a090a5a7 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/fat/ |
H A D | fatent.c | a090a5a7 Tue Aug 11 20:36:01 CDT 2020 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> fat: fix fat_ra_init() for data clusters == 0
If data clusters == 0, fat_ra_init() calls the ->ent_blocknr() for the cluster beyond ->max_clusters.
This checks the limit before initialization to suppress the warning.
Reported-by: syzbot+756199124937b31a9b7e@syzkaller.appspotmail.com Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/87mu462sv4.fsf@mail.parknet.co.jp Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|