aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_exchrange.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2024-11-15 11:58:43 +0000
committerAndrii Nakryiko <[email protected]>2024-11-15 19:29:12 +0000
commitfab974e6487475c2fca0a79918e8e75bd6bafffc (patch)
tree568c074424384d883cc2ecbcd1758cf8ad79bf14 /fs/xfs/xfs_exchrange.c
parentbpf: use common instruction history across all states (diff)
downloadkernel-fab974e6487475c2fca0a79918e8e75bd6bafffc.tar.gz
kernel-fab974e6487475c2fca0a79918e8e75bd6bafffc.zip
libbpf: Fix memory leak in bpf_program__attach_uprobe_multi
Andrii reported memory leak detected by Coverity on error path in bpf_program__attach_uprobe_multi. Fixing that by moving the check earlier before the offsets allocations. Reported-by: Andrii Nakryiko <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions