Skip to content
Commit 688e8825 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: correct block IO alignment check



If the field Media->IoAlign of the EFI block IO protocol is zero, no
alignment is required. Our code required 4 GiB alignment in this case.

Don't check buffer alignment if Media->IoAlign == 0.

Fixes: f59f0825 ("efi_loader: parameter checks BLOCK_IO_PROTOCOL")
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 74a614d7
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