-
Notifications
You must be signed in to change notification settings - Fork 144
bpftool: Fix JSON writer resource leak in version command #9130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Upstream branch: f66b4aa |
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=972535 expired. Closing PR. |
Upstream branch: f66b4aa |
9d88bc8
to
54b72c7
Compare
Upstream branch: f66b4aa |
54b72c7
to
3e8ba95
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=972574 expired. Closing PR. |
Upstream branch: f66b4aa |
3e8ba95
to
7001da9
Compare
Upstream branch: f66b4aa |
7001da9
to
715f99a
Compare
13e07b5
to
ca6e071
Compare
Upstream branch: a633dab |
When using `bpftool --version -j/-p`, the JSON writer object created in do_version() was not properly destroyed after use. This caused a memory leak each time the version command was executed with JSON output. Fix: 004b45c (tools: bpftool: provide JSON output for all possible commands) Signed-off-by: Yuan Chen <[email protected]> Suggested-by: Quentin Monnet <[email protected]> Reviewed-by: Quentin Monnet <[email protected]>
715f99a
to
a7f69d3
Compare
ca6e071
to
2f8bb38
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=972966 irrelevant now. Closing PR. |
Pull request for series with
subject: bpftool: Fix JSON writer resource leak in version command
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=972535