Skip to content
Commit 51e05a8c authored by Xin Liu's avatar Xin Liu Committed by Andrii Nakryiko
Browse files

libbpf: Fix overrun in netlink attribute iteration

I accidentally found that a change in commit 1045b03e

 ("netlink: fix
overrun in attribute iteration") was not synchronized to the function
`nla_ok` in tools/lib/bpf/nlattr.c, I think it is necessary to modify,
this patch will do it.

Signed-off-by: default avatarXin Liu <liuxin350@huawei.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220930090708.62394-1-liuxin350@huawei.com
parent 2efcf695
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment