[lvc-project] [PATCH] nfp: bpf: offload: Check prog before dereference

Jakub Kicinski kuba at kernel.org
Wed Oct 18 18:17:02 MSK 2023


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



More information about the lvc-project mailing list