[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231018081702.2e24ce32@kernel.org>
Date: Wed, 18 Oct 2023 08:17:02 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Artem Chernyshev <artem.chernyshev@...-soft.ru>
Cc: Louis Peens <louis.peens@...igine.com>, "David S . Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Paolo Abeni
<pabeni@...hat.com>, bpf@...r.kernel.org, oss-drivers@...igine.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org
Subject: Re: [PATCH] nfp: bpf: offload: Check prog before dereference
On Wed, 18 Oct 2023 17:52:44 +0300 Artem Chernyshev wrote:
> In nfp_net_bpf_offload() it is possible to dereference a
> NULL pointer.
And who would call this function with prog = NULL if old_prog
is also NULL, exactly?
--
pw-bot: cr
Powered by blists - more mailing lists