EfiGuard/Application
Mattiwatti f9270cfb38
Fix potential recursive self-boot by Loader.efi
The EFI variable "BootCurrent" corresponds to XXXX in some variable "BootXXXX", and this value was being used to guard against recursive self-booting. However, EfiBootManagerGetLoadOptions() already returns the options sorted by the contents of the "BootOrder" variable, which means that XXXX does not necessarily correspond to the linear index in a for loop. Instead use BootOptions[Index].OptionNumber to retrieve and compare the original value of XXXX

Fixes #5
2019-07-09 22:02:57 +02:00
..
EfiDSEFix EfiDSEFix: HDE64 fixes 2019-05-30 17:36:00 +02:00
Loader Fix potential recursive self-boot by Loader.efi 2019-07-09 22:02:57 +02:00