[U-Boot] [PATCH v2 0/2] efi_loader: parameter checks in StartImage and Exit()
Heinrich Schuchardt
xypron.glpk at gmx.de
Fri Apr 5 01:52:56 UTC 2019
Add parameter checks in the StartImage() and Exit() boottime services:
- check that the image handle is valid and has the loaded image protocol
installed
- in StartImage() record the current image
- in Exit() check that the image is the current image
v2
avoid `parent_image` may be used uninitialized
Heinrich Schuchardt (2):
efi_loader: rearrange boottime service functions
efi_loader: parameter checks in StartImage and Exit()
lib/efi_loader/efi_boottime.c | 245 +++++++++++++++++++---------------
1 file changed, 136 insertions(+), 109 deletions(-)
--
2.20.1
More information about the U-Boot
mailing list