Eric Biggers 2525d1ba22 f2fs: explicitly null-terminate the xattr list
commit e26b6d39270f5eab0087453d9b544189a38c8564 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
..
2023-01-19 09:24:27 +01:00
2023-11-28 17:20:11 +00:00
2023-09-02 15:37:59 -07:00
2023-09-02 15:37:59 -07:00
2023-09-02 15:37:59 -07:00
2023-09-02 15:37:59 -07:00
2023-08-02 09:13:09 -06:00
2021-08-23 10:25:51 -07:00
2023-09-02 15:37:59 -07:00
2023-04-18 09:05:54 -07:00
2023-02-27 16:18:51 -08:00
2023-06-26 06:07:10 -07:00