[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221207092822.d7zgkgprun5iqj5v@pengutronix.de>
Date: Wed, 7 Dec 2022 10:28:22 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: yang.yang29@....com.cn
Cc: wg@...ndegger.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, mailhol.vincent@...adoo.fr,
stefan.maetje@....eu, socketcan@...tkopp.net, dzm91@...t.edu.cn,
julia.lawall@...ia.fr, gustavoars@...nel.org,
linux-can@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, xu.panda@....com.cn
Subject: Re: [PATCH linux-next] can: ucan: use strscpy() to instead of
strncpy()
On 07.12.2022 09:09:09, 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>
Applied to linux-can-next.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists