Messages in this thread | | | From | Will Deacon <> | Subject | Re: [PATCH] arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails | Date | Fri, 19 Feb 2021 19:16:54 +0000 |
| |
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
| |