mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
a45dd984de
There are a few "goto out;" statements before the local variable "fdt"
is initialized through the call to of_kexec_alloc_and_setup_fdt() in
elf64_load(). This will result in an uninitialized "fdt" being passed
to kvfree() in this function if there is an error before the call to
of_kexec_alloc_and_setup_fdt().
If there is any error after fdt is allocated, but before it is
saved in the arch specific kimage struct, free the fdt.
Fixes:
|
||
---|---|---|
.. | ||
core.c | ||
core_32.c | ||
core_64.c | ||
crash.c | ||
elf_64.c | ||
file_load.c | ||
file_load_64.c | ||
Makefile | ||
ranges.c | ||
relocate_32.S |