[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250613181624.5684fc0b@kernel.org>
Date: Fri, 13 Jun 2025 18:16:24 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Pranav Tyagi <pranav.tyagi03@...il.com>
Cc: davem@...emloft.net, dsahern@...nel.org, edumazet@...gle.com,
pabeni@...hat.com, horms@...nel.org, skhan@...uxfoundation.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linux.dev
Subject: Re: [PATCH v2 net-next] net: ipconfig: replace strncpy with strscpy
On Thu, 12 Jun 2025 17:18:59 +0530 Pranav Tyagi wrote:
> Replace the deprecated strncpy() with strscpy() as the destination
> buffer is NUL-terminated and does not require any
> trailing NUL-padding. Also increase the length to 252
> as NUL-termination is guaranteed.
Petr is making functional changes to this code:
https://lore.kernel.org/all/20250610143504.731114-1-petr.zejdl@cern.ch/
Please repost once his work is merged to avoid unnecessary conflicts
--
pw-bot: defer
Powered by blists - more mailing lists