[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y5L5c2fG0Ro49Nuv@nanopsycho>
Date: Fri, 9 Dec 2022 10:01:39 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: yang.yang29@....com.cn
Cc: dchickles@...vell.com, sburla@...vell.com, fmanlunas@...vell.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, xu.panda@....com.cn
Subject: Re: [PATCH net-next v2] liquidio: use strscpy() to instead of
strncpy()
Fri, Dec 09, 2022 at 08:34:49AM CET, 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: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists