
12 Sep
2019
12 Sep
'19
7:19 p.m.
If a FAT entry is corrupted, reading a file should always lead to an error.
get_contents() should always return -1 when an error occurs.
Heinrich Schuchardt (2): fs: fat: treat invalid FAT clusters as errors fs: fat: get_contents() always returns -1 for errors
fs/fat/fat.c | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-)
-- 2.23.0