]> 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>
Tue, 29 Dec 2020 01:09:04 +0000 (02:09 +0100)
commit9065867bf3646adc18c7e09dfbbc580598a513b9
treeda2c201eb28835141b1652216e57cb36811bd24d
parent77235bc42a42d41e00b0d1fc786085b7a3e2cf6e
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