]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: avoid invalid free
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 27 Dec 2020 14:46:00 +0000 (15:46 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 31 Dec 2020 13:33:07 +0000 (14:33 +0100)
commit1ebed4006f16cf2af7505a2df2c8d853b1203607
treee5f361ab941555fbc235457a29958b694789118e
parent9eee85c3f64eef671075fab485e2a44215beed1d
efi_loader: avoid invalid free

load_options passed from do_efibootmgr() to do_bootefi_exec() may contain
invalid data from the stack which will lead to an invalid free().

Fixes: dee5d07e3608 ("efi_loader: set load options in boot manager")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_bootmgr.c