Re: [PATCH] kcsan: test: Replace deprecated strcpy() with strscpy()

From: Thorsten Blum
Date: Mon Aug 18 2025 - 15:32:41 EST


On 18. Aug 2025, at 20:26, Justin Stitt wrote:
> Looks good.
>
> Here's my checklist:
> 1) strcpy() and strscpy() have differing return values, but we aren't using
> it.
> 2) strscpy() can fail with -E2BIG if source is too big, but it isn't in
> this case.
> 3) two-arg version of strscpy() is OK to use here as the source has a known
> size at compile time.
>
> Reviewed-by: Justin Stitt <justinstitt@xxxxxxxxxx>

Thanks for your thorough review.

Thorsten