[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y61kjbim7IDSLSyd@kadam>
Date: Thu, 29 Dec 2022 12:57:33 +0300
From: Dan Carpenter <error27@...il.com>
To: yang.yang29@....com.cn
Cc: larry.finger@...inger.net, phil@...lpotter.co.uk,
paskripkin@...il.com, martin@...ser.cx, abdun.nihaal@...il.com,
straube.linux@...il.com, sandsch@...thvilleschools.net,
linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org,
xu.panda@....com.cn
Subject: Re: [PATCH linux-next] staging: r8188eu: use strscpy() to instead of
strncpy()
On Mon, Dec 26, 2022 at 07:05:47PM +0800, yang.yang29@....com.cn wrote:
> From: Xu Panda <xu.panda@....com.cn>
>
> The implementation of strscpy() is more robust and safer.
> That's now the recommended way to copy NUL-terminated strings.
>
> Signed-off-by: Xu Panda <xu.panda@....com.cn>
> Signed-off-by: Yang Yang <yang.yang29@....com>
> ---
Looks good.
Reviewed-by: Dan Carpenter <error27@...il.com>
regards,
dan carpenter
Powered by blists - more mailing lists