Subject: Re: [PATCH net-next] brcm80211: use strscpy() to instead of strncpy()

From: Leon Romanovsky <[email-masked]>
Date: Mon, 16 Jan 2023 15:31:19 +0200

On Mon, Jan 16, 2023 at 01:08:36PM +0000, Kalle Valo wrote:
> <[email-masked]> wrote:
> 
> > From: Xu Panda <[email-masked]>
> > 
> > The implementation of strscpy() is more robust and safer.
> > That's now the recommended way to copy NUL-terminated strings.
> > 
> > Signed-off-by: Xu Panda <[email-masked]>
> > Signed-off-by: Yang Yang <[email-masked]>
> 
> Mismatch email in From and Signed-off-by lines:
> 
> From: <[email-masked]>
> Signed-off-by: Yang Yang <[email-masked]>
> 
> Patch set to Changes Requested.

Kalle, please be aware of this response
https://lore.kernel.org/netdev/[email-masked]/

"I don't trust that you know what you're doing. So please don't send
any more strncpy() -> strscpy() conversions for networking."

Thanks

> 
> -- 
> https://patchwork.kernel.org/project/linux-wireless/patch/[email-masked]/
> 
> https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
>