commit | df86279a61b5635f2af4c6e54d5998f95434dae3 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Sep 07 23:28:04 2019 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Sep 09 15:21:08 2019 +0200 |
tree | bee6af33540d5e8dbc5b6e75903a911d487198f7 | |
parent | da06260152677d87c4d79e35a33f91f2d30dc693 [diff] |
efi_loader: file size checks The file size has to be determined in multiple places. Factor out a common function. If on entry into EFI_FILE_PROTOCOL.Read() the current position is beyond the end of the file, return EFI_DEVICE_ERROR. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>