[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y8at5Le5f4ifFYqk@salvia>
Date: Tue, 17 Jan 2023 15:17:08 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Alok Tiwari <alok.a.tiwari@...cle.com>
Cc: linux-kernel@...r.kernel.org, netfilter-devel@...r.kernel.org
Subject: Re: [PATCH 6.1] netfilter: Null pointer dereference in
nf_tables_updobj
On Tue, Jan 17, 2023 at 05:45:38AM -0800, Alok Tiwari wrote:
> static analyzer detect null pointer dereference case for 'type'
> function __nft_obj_type_get() can return NULL value which require to handle
> if type is NULL pointer return -ENOENT
This should not ever happen, but it is good to have a failsafe in this
path.
I'll take this into nf.git, thanks.
Powered by blists - more mailing lists