Re: [PATCH v1 3/6] params: Do not go over the limit when getting the string length

From: Andy Shevchenko
Date: Tue Sep 12 2023 - 11:24:38 EST


On Tue, Sep 12, 2023 at 06:05:48PM +0300, Andy Shevchenko wrote:
> We can use strnlen() even on early stages and it prevents from
> going over the string boundaries in case it's already too long.

Should have Cc'ed this and next patch to Kees...

--
With Best Regards,
Andy Shevchenko