[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210825110706.GA3515@salvia>
Date: Wed, 25 Aug 2021 13:07:06 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Lukas Bulwahn <lukas.bulwahn@...il.com>
Cc: Jozsef Kadlecsik <kadlec@...filter.org>,
Florian Westphal <fw@...len.de>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org,
clang-built-linux <clang-built-linux@...glegroups.com>,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] netfilter: x_tables: handle xt_register_template()
returning an error value
On Mon, Aug 23, 2021 at 10:27:29PM +0200, Lukas Bulwahn wrote:
> Commit fdacd57c79b7 ("netfilter: x_tables: never register tables by
> default") introduces the function xt_register_template(), and in one case,
> a call to that function was missing the error-case handling.
>
> Handle when xt_register_template() returns an error value.
>
> This was identified with the clang-analyzer's Dead-Store analysis.
Applied, thanks.
Powered by blists - more mailing lists