commit | b56e719a3b2afc2cf851e8c0ec92f454f846be0c | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Jan 23 06:52:21 2021 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Jan 23 07:56:54 2021 +0100 |
tree | 8360f2c6102514b4896233f4623e57797e0db3b5 | |
parent | 3d83b731dc3ce0c0b1a5d86fe46e12698e630610 [diff] |
efi_loader: correct EFI_BLOCK_IO_PROTOCOL.Media.LastBlock The field Media.LastBlock of the EFI_BLOCK_IO_PROTOCOL.Media was filled incorrectly both for block devices as well as for partitions. The field must be filled with the index of the last logical block (LBA): * block devices: device size minus 1 * partitions: partition size minus 1 Reported-by: Alexander von Gluck IV <kallisti5@unixzen.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>