]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: use after free in efi_exit()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 28 Dec 2020 22:24:40 +0000 (23:24 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 31 Dec 2020 13:33:07 +0000 (14:33 +0100)
commitfff8a5b276c50ca823a25073713fe514ad4e654d
tree2ab92da9a641ed1e80ac524aba083faac7baac82
parent2aee69fc84bc04e612ed893b569b2d6b12e240fd
efi_loader: use after free in efi_exit()

Do not use data from the loaded image object after deleting it.

Fixes: f959b0dbde61 ("efi_loader: unload applications upon Exit()")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_loader.h
lib/efi_loader/efi_boottime.c