diff options
author | Haoxiang Li <haoxiang_li2024@163.com> | 2025-02-18 06:04:09 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-02-20 11:35:49 +0300 |
commit | 878e7b11736e062514e58f3b445ff343e6705537 (patch) | |
tree | dd860d60687153ecba56b2f54d50e351af4113ec /tools/perf/scripts/python/syscall-counts.py | |
parent | 9b6412e6979f6f9e0632075f8f008937b5cd4efd (diff) | |
download | linux-878e7b11736e062514e58f3b445ff343e6705537.tar.xz |
nfp: bpf: Add check for nfp_app_ctrl_msg_alloc()
Add check for the return value of nfp_app_ctrl_msg_alloc() in
nfp_bpf_cmsg_alloc() to prevent null pointer dereference.
Fixes: ff3d43f7568c ("nfp: bpf: implement helpers for FW map ops")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Link: https://patch.msgid.link/20250218030409.2425798-1-haoxiang_li2024@163.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions