Re: [PATCH linux-next] clocksource: Use strscpy() instead of strlcpy()

From: Greg KH
Date: Thu Oct 20 2022 - 05:49:12 EST


On Thu, Oct 20, 2022 at 09:13:12AM +0000, cuijinpeng666@xxxxxxxxx wrote:
> From: Jinpeng Cui <cui.jinpeng2@xxxxxxxxxx>
>
> The implementation of strscpy() is more robust and safer.
>
> Reported-by: Zeal Robot <zaelci@xxxxxxxxxx>
> Signed-off-by: Jinpeng Cui <cui.jinpeng2@xxxxxxxxxx>
> ---
> kernel/time/clocksource.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)


Please ignore based on this response:
https://lore.kernel.org/r/Y1EVnZS9BalesrC1@xxxxxxxxx