summaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorXu Kuohai <xukuohai@huawei.com>2022-10-11 08:01:04 -0400
committerAndrii Nakryiko <andrii@kernel.org>2022-10-13 10:53:18 -0700
commit0dc9254e03704c75f2ebc9cbef2ce4de83fba603 (patch)
tree9241bdca95d8ad1589961a09e182f3e97a199567 /net/tipc
parent93c660ca40b5d2f7c1b1626e955a8e9fa30e0749 (diff)
downloadlinux-0dc9254e03704c75f2ebc9cbef2ce4de83fba603.tar.bz2
libbpf: Fix memory leak in parse_usdt_arg()
In the arm64 version of parse_usdt_arg(), when sscanf returns 2, reg_name is allocated but not freed. Fix it. Fixes: 0f8619929c57 ("libbpf: Usdt aarch64 arg parsing support") Signed-off-by: Xu Kuohai <xukuohai@huawei.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://lore.kernel.org/bpf/20221011120108.782373-3-xukuohai@huaweicloud.com
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions