efi_loader: Blt() with incorrect BltOperation

If EFI_GRAPHICS_OUTPUT_PROTOCOL.Blt() is called with an invalid value of
BltOperation return EFI_INVALID_PARAMETER.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
Heinrich Schuchardt 2019-06-15 12:42:46 +02:00
parent 63a4585791
commit 3352b306bf

View file

@ -367,7 +367,7 @@ efi_status_t EFIAPI gop_blt(struct efi_gop *this, struct efi_gop_pixel *buffer,
dy, width, height, delta, vid_bpp);
break;
default:
ret = EFI_UNSUPPORTED;
ret = EFI_INVALID_PARAMETER;
}
if (ret != EFI_SUCCESS)