[U-Boot] [PATCH 0/2] fs: fat: error handling in get_contents()
Heinrich Schuchardt
xypron.glpk at gmx.de
Thu Sep 12 17:19:28 UTC 2019
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
More information about the U-Boot
mailing list