]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: fat: must not write directory '.' and '..'
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 30 Jan 2021 10:08:21 +0000 (11:08 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 3 Feb 2021 10:10:37 +0000 (11:10 +0100)
commit0be286cd6de995d6249508ebde6cfb8066045d77
treefcfa34c23e7fd070399577e1b775c711104bb874
parent4c4006b694c4188a6face1c70bf16d0c5d49a2e9
fs: fat: must not write directory '.' and '..'

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>
fs/fat/fat_write.c