Re: [PATCH v8 8/8] drm: Replace strcpy() with strscpy()

2024-09-12 Thread Yafang Shao
On Fri, Sep 13, 2024 at 5:28 AM Justin Stitt wrote: > > Hi, > > On Wed, Aug 28, 2024 at 11:03:21AM GMT, Yafang Shao wrote: > > To prevent erros from occurring when the src string is longer than the > > dst string in strcpy(), we should use strscpy() instead. This > > approach also facilitates futu

Re: [PATCH v8 8/8] drm: Replace strcpy() with strscpy()

2024-09-12 Thread Justin Stitt
Hi, On Wed, Aug 28, 2024 at 11:03:21AM GMT, Yafang Shao wrote: > To prevent erros from occurring when the src string is longer than the > dst string in strcpy(), we should use strscpy() instead. This > approach also facilitates future extensions to the task comm. > > Signed-off-by: Yafang Shao >