Re: [PATCH] bpftool: fix a wrong type cast in btf_dumper_int

patchwork-bot+netdevbpf
2022-08-25T18:50:22Z

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Wed, 24 Aug 2022 15:59:00 -0700 you wrote:
> When `data` points to a boolean value, casting it to `int *` is problematic
> and could lead to a wrong value being passed to `jsonw_bool`. Change the
> cast to `bool *` instead.
>
> Fixes: b12d6ec09730 ("bpf: btf: add btf print functionality")
> Signed-off-by: Lam Thai <lamthai@arista.com>
>
> [...]

Here is the summary with links:
- bpftool: fix a wrong type cast in btf_dumper_int
https://git.kernel.org/bpf/bpf-next/c/7184aef9c0f7

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.