Messages in this thread | | | Date | Thu, 29 Dec 2022 12:57:33 +0300 | From | Dan Carpenter <> | 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@zte.com.cn wrote: > From: Xu Panda <xu.panda@zte.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@zte.com.cn> > Signed-off-by: Yang Yang <yang.yang29@zte.com> > ---
Looks good.
Reviewed-by: Dan Carpenter <error27@gmail.com>
regards, dan carpenter
| |