Re: [PATCH] qlcnic: replace deprecated strncpy with strscpy

From: Kees Cook
Date: Fri Dec 01 2023 - 13:21:46 EST


On Thu, Nov 30, 2023 at 10:43:12PM -0800, Jakub Kicinski wrote:
> On Thu, 30 Nov 2023 14:00:28 -0800 Kees Cook wrote:
> > [1/1] qlcnic: replace deprecated strncpy with strscpy
> > https://git.kernel.org/kees/c/f8bef1ef8095
>
> You asked for changes yourself here, please drop all the networking
> patches you applied today :|

It was a request for future commit logs. But yes, dropped. Justin, can
you refresh this patch as well, and include the comments about the
sizeof() replacement being safe?

--
Kees Cook