[U-Boot] [PATCH 0/2] efi_loader: fixes for Simple Output Protocol
xypron.glpk at gmx.de
Thu Sep 5 08:06:02 UTC 2019
Fix errors in the simple output protocol which may lead to providing
incorrect values for columns or rows.
Allowing to set an illegal screen mode has led to an illegal memory
access in the UEFI SCT.
As the illegal memory access led to QEMU stopping the following patch for
Linux has been proposed. With the patch QEMU does not stop but hands the
error back to U-Boot which than outputs the relative position in the
loaded UEFI binary or in U-Boot (in this case SetMem16() called by
AppendStringToHistory() of EDK2's ConsoleLogger).
KVM: inject data abort if instruction cannot be decoded
Heinrich Schuchardt (2):
efi_loader: cursor positioning
efi_loader: do not set invalid screen mode
lib/efi_loader/efi_console.c | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
More information about the U-Boot