projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b00c16
)
efi/boot: add missing pointer dereference in set_color
author
Igor Druzhinin
<igor.druzhinin@citrix.com>
Thu, 10 Oct 2019 08:58:09 +0000
(10:58 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Thu, 10 Oct 2019 08:58:09 +0000
(10:58 +0200)
Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/common/efi/boot.c
patch
|
blob
|
history
diff --git
a/xen/common/efi/boot.c
b/xen/common/efi/boot.c
index 79193784ff145e3c23f7dd6e2b405289ced745bf..00fd1391755f520c863dfe0f8d4e418c6e15fbf6 100644
(file)
--- a/
xen/common/efi/boot.c
+++ b/
xen/common/efi/boot.c
@@
-1114,7
+1114,7
@@
static int __init __maybe_unused set_color(u32 mask, int bpp, u8 *pos, u8 *sz)
return -EINVAL;
for ( *pos = 0; !(mask & 1); ++*pos )
mask >>= 1;
- for ( *sz = 0; mask & 1; ++sz)
+ for ( *sz = 0; mask & 1; ++
*
sz)
mask >>= 1;
if ( mask )
return -EINVAL;