Messages in this thread | | | Date | Wed, 30 Nov 2022 11:39:22 +0100 | From | Petr Mladek <> | Subject | Re: [PATCH linux-next] printk: use strscpy() to instead of strlcpy() |
| |
On Wed 2022-11-30 16:01:41, 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>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Best Regards, Petr
| |