WSL2-Linux-Kernel/fs/ntfs3
Konstantin Komarov a2de301d90 fs/ntfs3: Use variable length array instead of fixed size
[ Upstream commit 1997cdc3e727526aa5d84b32f7cbb3f56459b7ef ]

Should fix smatch warning:
	ntfs_set_label() error: __builtin_memcpy() 'uni->name' too small (20 vs 256)

Fixes: 4534a70b70 ("fs/ntfs3: Add headers and misc files")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202401091421.3RJ24Mn3-lkp@intel.com/
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-16 13:39:43 +02:00
..
lib
Kconfig
Makefile
attrib.c
attrlist.c
bitfunc.c
bitmap.c
debug.h
dir.c fs/ntfs3: Break dir enumeration if directory contents error 2024-06-16 13:39:13 +02:00
file.c
frecord.c
fslog.c fs/ntfs3: Use 64 bit variable to avoid 32 bit overflow 2024-06-16 13:39:43 +02:00
fsntfs.c
index.c fs/ntfs3: Fix case when index is reused during tree transformation 2024-06-16 13:39:13 +02:00
inode.c
lznt.c
namei.c
ntfs.h fs/ntfs3: Use variable length array instead of fixed size 2024-06-16 13:39:43 +02:00
ntfs_fs.h
record.c
run.c
super.c
upcase.c
xattr.c