projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a4585
)
efi_loader: Blt() with incorrect BltOperation
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sat, 15 Jun 2019 10:42:46 +0000
(12:42 +0200)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Thu, 20 Jun 2019 22:26:14 +0000
(22:26 +0000)
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>
lib/efi_loader/efi_gop.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_gop.c
b/lib/efi_loader/efi_gop.c
index e003823b6061efd390f127fd3350ce0a59bb3782..9428c3b83cf749f00e7d19774fd8f926751ff233 100644
(file)
--- a/
lib/efi_loader/efi_gop.c
+++ b/
lib/efi_loader/efi_gop.c
@@
-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)