mirror-linux/tools/bootconfig
Hongtao Lee f42d01aadc tools/bootconfig: Fix buf leaks in apply_xbc
If data calloc failed, free the buf before return.

Link: https://lore.kernel.org/all/20260520030126.147782-1-lihongtao@kylinos.cn/

Fixes: 950313ebf7 ("tools: bootconfig: Add bootconfig command")
Signed-off-by: Hongtao Lee <lihongtao@kylinos.cn>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
2026-05-21 11:42:27 +09:00
..
include/linux bootconfig: Cleanup dummy headers in tools/bootconfig 2021-10-10 22:16:02 -04:00
samples bootconfig: Add bootconfig tests about braces 2026-03-13 17:49:30 +09:00
scripts tools/bootconfig: scripts/ftrace.sh was missing the shebang line, so added it 2025-07-24 00:23:39 +09:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile tools/bootconfig: specify LDFLAGS as an argument to CC 2025-05-16 11:22:54 +09:00
main.c tools/bootconfig: Fix buf leaks in apply_xbc 2026-05-21 11:42:27 +09:00
test-bootconfig.sh bootconfig: Add bootconfig tests about braces 2026-03-13 17:49:30 +09:00