On Wed, Dec 15, 2021 at 08:21:28PM +0100, Miko Larsson wrote: > strlcpy shouldn't be used; strscpy should be used instead. I think the proper API to use here would be kmemdup_nul.
On Wed, Dec 15, 2021 at 08:21:28PM +0100, Miko Larsson wrote: > strlcpy shouldn't be used; strscpy should be used instead. I think the proper API to use here would be kmemdup_nul.