]> git.dujemihanovic.xyz Git - u-boot.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)
commitf8212f09702f802ffab42769133e3114bd6e5e77
tree2ab92da9a641ed1e80ac524aba083faac7baac82
parent0ce3fb55e0be286f1f7686aeb452ee77100a2493
efi_loader: use after free in efi_exit()

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

Fixes: 126a43f15b36 ("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