From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Fri, 5 Apr 2019 03:52:56 +0200 Subject: [U-Boot] [PATCH v2 0/2] efi_loader: parameter checks in StartImage and Exit() Message-ID: <20190405015258.6780-1-xypron.glpk@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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