Re: [f2fs-dev] [PATCH] f2fs: explicitly null-terminate the xattr list

2023-11-07 Thread Chao Yu
On 2023/11/7 12:44, Eric Biggers wrote: From: Eric Biggers 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 Reviewed-by: Chao Yu Thanks,

[f2fs-dev] [PATCH] f2fs: explicitly null-terminate the xattr list

2023-11-06 Thread Eric Biggers
From: Eric Biggers 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 --- fs/f2fs/xattr.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/fs/f2fs/xattr.c