]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: parameter checks in StartImage and Exit()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 26 Mar 2019 18:03:17 +0000 (19:03 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 7 Apr 2019 12:17:06 +0000 (14:17 +0200)
commit28744a543d2d5b6b732cd05eafab20ecb2de46ff
tree3fcc38c058ffe2bc0115d6e4c83de1089d0a230c
parent88d000dfc527f5c5cf91f99a2e5ffa47c2862fd3
efi_loader: parameter checks in StartImage and Exit()

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

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c