Skip to content
Commit 9bb62fa6 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 83a74ad1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment