Messages in this thread | | | Date | Wed, 7 Dec 2022 10:28:22 +0100 | From | Marc Kleine-Budde <> | Subject | Re: [PATCH linux-next] can: ucan: use strscpy() to instead of strncpy() |
| |
On 07.12.2022 09:09:09, 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>
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 | [unhandled content-type:application/pgp-signature] | |