On Thu, 4 Feb 2021 at 00:40, Heinrich Schuchardt 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
> ---
> v2:
> check for file length 0
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
---
v2:
check for file length 0, simplify check for invalid file names
---
fs/fat/fat_write.c | 13 +++--
2 matches
Mail list logo