commit | 0bb7389566932c7ab49d4dc6991c3095a74668f6 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Jan 23 19:33:11 2021 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Jan 29 20:22:40 2021 +0100 |
tree | 5505c77a3cc9ac6772308e18116e3055061e5be8 | |
parent | a59b569c2e561c85806aeea7c09d4635c790a356 [diff] |
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: f59f0825e8b9 ("efi_loader: parameter checks BLOCK_IO_PROTOCOL") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>