[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y4cy2vscZDqxBXhw@alley>
Date: Wed, 30 Nov 2022 11:39:22 +0100
From: Petr Mladek <pmladek@...e.com>
To: yang.yang29@....com.cn
Cc: senozhatsky@...omium.org, rostedt@...dmis.org,
john.ogness@...utronix.de, linux-kernel@...r.kernel.org,
xu.panda@....com.cn
Subject: Re: [PATCH linux-next] printk: use strscpy() to instead of strlcpy()
On Wed 2022-11-30 16:01:41, 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>
Reviewed-by: Petr Mladek <pmladek@...e.com>
Best Regards,
Petr
Powered by blists - more mailing lists