linux-stable/fs/f2fs
Eric Biggers 2525d1ba22 f2fs: explicitly null-terminate the xattr list
commit e26b6d3927 upstream.

When setting an xattr, explicitly null-terminate the xattr list.  This
eliminates the fragile assumption that the unused xattr space is always
zeroed.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-20 11:51:37 +01:00
..
acl.c
acl.h
checkpoint.c
compress.c f2fs: avoid format-overflow warning 2023-11-28 17:20:11 +00:00
data.c f2fs: compress: fix to avoid use-after-free on dic 2023-11-20 11:59:25 +01:00
debug.c
dir.c
extent_cache.c f2fs: split initial and dynamic conditions for extent_cache 2023-11-28 17:20:11 +00:00
f2fs.h
file.c f2fs: set the default compress_level on ioctl 2023-11-28 17:20:11 +00:00
gc.c
gc.h
hash.c
inline.c
inode.c
iostat.c
iostat.h
Kconfig
Makefile
namei.c
node.c f2fs: do not return EFSCORRUPTED, but try to run online repair 2023-11-28 17:20:11 +00:00
node.h
recovery.c
segment.c
segment.h
shrinker.c
super.c f2fs: fix to drop meta_inode's page cache in f2fs_put_super() 2023-11-20 11:59:25 +01:00
sysfs.c
verity.c
xattr.c f2fs: explicitly null-terminate the xattr list 2024-01-20 11:51:37 +01:00
xattr.h