mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +01:00
BootOption.VariableSize was left uninitialized.
This commit is contained in:
parent
2135d2706b
commit
2ff93a346a
@ -435,6 +435,7 @@ SetBootCurrent(REFIT_MENU_ITEM_BOOTNUM *Entry)
|
||||
|
||||
//decode the variable
|
||||
BootOption.Variable = BootVariable;
|
||||
BootOption.VariableSize = VarSize;
|
||||
ParseBootOption (&BootOption);
|
||||
|
||||
if ((BootOption.OptionalDataSize == 0) ||
|
||||
|
Loading…
Reference in New Issue
Block a user