Thread (3 messages) 3 messages, 3 authors, 2021-08-25

Re: [PATCH] netfilter: x_tables: handle xt_register_template() returning an error value

flat view

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2021-08-25 11:07:18
Also in: kernel-janitors, lkml, netfilter-devel

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help