public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/2] efi_loader: parameter checks in StartImage and Exit()
Date: Fri,  5 Apr 2019 03:52:56 +0200	[thread overview]
Message-ID: <20190405015258.6780-1-xypron.glpk@gmx.de> (raw)

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

             reply	other threads:[~2019-04-05  1:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-05  1:52 Heinrich Schuchardt [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190405015258.6780-1-xypron.glpk@gmx.de \
    --to=xypron.glpk@gmx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox