Re: [PATCH bpf-next] bpftool: avoid leaking the JSON writer prepared for program metadata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

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

On Fri, 22 Oct 2021 10:47:43 +0100 you wrote:
> Bpftool creates a new JSON object for writing program metadata in plain
> text mode, regardless of metadata being present or not. Then this writer
> is freed if any metadata has been found and printed, but it leaks
> otherwise. We cannot destroy the object unconditionally, because the
> destructor prints an undesirable line break. Instead, make sure the
> writer is created only after we have found program metadata to print.
> 
> [...]

Here is the summary with links:
  - [bpf-next] bpftool: avoid leaking the JSON writer prepared for program metadata
    https://git.kernel.org/bpf/bpf-next/c/e89ef634f81c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux