Messages in this thread | | | Subject | Re: [PATCH bpf] bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 02 Nov 2022 11:10:15 +0000 |
| |
Hello:
This patch was applied to bpf/bpf.git (master) by Daniel Borkmann <daniel@iogearbox.net>:
On Wed, 2 Nov 2022 16:40:34 +0800 you wrote: > From: Pu Lehui <pulehui@huawei.com> > > When using bpftool to pin {PROG, MAP, LINK} without FILE, > segmentation fault will occur. The reson is that the lack > of FILE will cause strlen to trigger NULL pointer dereference. > The corresponding stacktrace is shown below: > > [...]
Here is the summary with links: - [bpf] bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE https://git.kernel.org/bpf/bpf/c/34de8e6e0e1f
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |