Re: [PATCH] ext4: Use memtostr_pad() for s_volume_name
From: Theodore Ts'o
Date: Wed Jul 10 2024 - 22:37:46 EST
On Thu, 23 May 2024 15:54:12 -0700, Kees Cook wrote:
> As with the other strings in struct ext4_super_block, s_volume_name is
> not NUL terminated. The other strings were marked in commit 072ebb3bffe6
> ("ext4: add nonstring annotations to ext4.h"). Using strscpy() isn't
> the right replacement for strncpy(); it should use memtostr_pad()
> instead.
>
>
> [...]
Applied, thanks!
[1/1] ext4: Use memtostr_pad() for s_volume_name
commit: be27cd64461c45a6088a91a04eba5cd44e1767ef
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>