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
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot