RE: [PATCH linux-next] x86/mce/dev-mcelog: use strscpy() to instead of strncpy()

From: Luck, Tony
Date: Sat Dec 03 2022 - 17:21:24 EST


> From: Xu Panda <xu.panda@xxxxxxxxxx>
>
> The implementation of strscpy() is more robust and safer.
> That's now the recommended way to copy NUL terminated strings.

Reviewed-by: Tony Luck <tony.luck@xxxxxxxxx>