Re: [PATCH v3 2/2] wifi: brcmsmac: replace deprecated strncpy with memcpy

From: Kees Cook
Date: Thu Oct 26 2023 - 13:21:48 EST


On Wed, Oct 18, 2023 at 05:03:02PM -0700, Kees Cook wrote:
> On Tue, Oct 17, 2023 at 08:11:29PM +0000, Justin Stitt wrote:
> > Let's move away from using strncpy and instead use the more obvious
> > interface for this context.
> [...]
> So, this change results in the same behavior ...

I should have included my r-b tag:

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook