small fixes for Windows EFI install code
Fix potential crash caused by signed vs. unsigned comparison. Negative length compares as very large unsigned number causing subsequent NULL access. Make exhaustive search for all BootNNNN variables to find one matching requested efi_distributor.
This commit is contained in:
parent
80b865bdc8
commit
e477187bf4
2 changed files with 18 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-12-15 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||
|
||||
* grub-core/osdep/windows/platform.c (grub_install_register_efi): Handle
|
||||
unlikely errors when getting EFI variables and make exhaustive search
|
||||
for all BootNNNN variables to find matching one.
|
||||
|
||||
2013-12-15 Ian Campbell <ijc@hellion.org.uk>
|
||||
|
||||
* grub-core/kern/uboot/init.c: Fix units of uboot timer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue