Re: [PATCH] arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails

From
Will Deacon <will@kernel.org>
Date
2021-02-19 19:17:48
Also in
lkml
Reply to
qiuguorui1, 2021-02-18
On Thu, 18 Feb 2021 20:59:00 +0800, qiuguorui1 wrote:
in function create_dtb(), if fdt_open_into() fails, we need to vfree
buf before return.
Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails
      https://git.kernel.org/arm64/c/656d1d58d8e0

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (2 messages) 2 messages, 2 authors, last reply 2021-02-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help