Files
linux-stable-mirror/tools
Hongtao LeeandGreg Kroah-Hartman 716ac4571c tools/bootconfig: Fix buf leaks in apply_xbc
[ Upstream commit f42d01aadc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-06-19 13:36:53 +02:00
..
2026-03-04 07:20:06 -05:00