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:
parent
63a4585791
commit
3352b306bf
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user