commit | 9bb62fa63ba1e26ade9842588d98806b9fecd67e | [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 | 83a74ad14370b75051cabfc2eab01fd8556f3bdb [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>