
6 Feb
2021
6 Feb
'21
5:12 p.m.
On Thu, 4 Feb 2021 at 00:40, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Directories or files called '.' or '..' cannot be created or written to in any directory. Move the test to normalize_longname() to check this early.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
v2: check for file length 0, simplify check for invalid file names
fs/fat/fat_write.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org