Re: [PATCH v1 1/1] seq_file: Replace strncpy()+nul by strscpy()

Andy Shevchenko
2023-07-17T16:09:14Z

On Mon, Jul 17, 2023 at 08:43:55AM -0700, Kees Cook wrote:
> On Mon, Jul 17, 2023 at 12:33:32PM +0300, Andy Shevchenko wrote:

...

> I think this doesn't need to use seq_show_option_n() at all.

Quite likely. Nevertheless, it's one of the dozens (?) warnings like this.

...

> Reviewed-by: Kees Cook <keescook@chromium.org>

Thank you for the review!

I think it's you who may take it as seq_file.h seems everybody's playground.

--
With Best Regards,
Andy Shevchenko