[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230808231333.GH9741@breakpoint.cc>
Date: Wed, 9 Aug 2023 01:13:33 +0200
From: Florian Westphal <fw@...len.de>
To: Justin Stitt <justinstitt@...gle.com>
Cc: Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...filter.org>,
Florian Westphal <fw@...len.de>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
linux-hardening@...r.kernel.org, Kees Cook <keescook@...omium.org>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/7] netfilter: nf_tables: refactor deprecated strncpy
Justin Stitt <justinstitt@...gle.com> wrote:
> Prefer `strscpy` over `strncpy`.
No, this relies on zeroing out the entire register.
If you absolutely have to do this, use _pad version.
Powered by blists - more mailing lists