public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/2] efi_loader: parameter checks in StartImage and Exit()
@ 2019-04-05  1:52 Heinrich Schuchardt
  2019-04-05  1:52 ` [U-Boot] [PATCH v2 1/2] efi_loader: rearrange boottime service functions Heinrich Schuchardt
  2019-04-05  1:52 ` [U-Boot] [PATCH v2 2/2] efi_loader: parameter checks in StartImage and Exit() Heinrich Schuchardt
  0 siblings, 2 replies; 5+ messages in thread
From: Heinrich Schuchardt @ 2019-04-05  1:52 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-11  5:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-05  1:52 [U-Boot] [PATCH v2 0/2] efi_loader: parameter checks in StartImage and Exit() Heinrich Schuchardt
2019-04-05  1:52 ` [U-Boot] [PATCH v2 1/2] efi_loader: rearrange boottime service functions Heinrich Schuchardt
2019-04-05  1:52 ` [U-Boot] [PATCH v2 2/2] efi_loader: parameter checks in StartImage and Exit() Heinrich Schuchardt
2019-04-09  1:40   ` Takahiro Akashi
2019-04-11  5:38   ` Takahiro Akashi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox