[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZzcBZ5gEhE1QX2d1@gauss3.secunet.de>
Date: Fri, 15 Nov 2024 09:08:07 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Daniel Yang <danielyangkang@...il.com>
CC: Herbert Xu <herbert@...dor.apana.org.au>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski
<kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Simon Horman
<horms@...nel.org>, "open list:NETWORKING [IPSEC]" <netdev@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net] xfrm: replace deprecated strncpy with strscpy_pad
On Wed, Nov 13, 2024 at 01:20:58AM -0800, Daniel Yang wrote:
> The function strncpy is deprecated since it does not guarantee the
> destination buffer is NULL terminated. Recommended replacement is
> strscpy. The padded version was used to remain consistent with the other
> strscpy_pad usage in the modified function.
>
> Signed-off-by: Daniel Yang <danielyangkang@...il.com>
Applied to ipsec-next, thanks!
Powered by blists - more mailing lists