]> git.ipfire.org Git - thirdparty/grub.git/commit
small fixes for Windows EFI install code
authorAndrey Borzenkov <arvidjaar@gmail.com>
Sun, 15 Dec 2013 18:00:15 +0000 (22:00 +0400)
committerAndrey Borzenkov <arvidjaar@gmail.com>
Sun, 15 Dec 2013 18:00:15 +0000 (22:00 +0400)
commite477187bf4e935a43d858ab2d33c64e978e2448b
tree71512a3d76fcc361ef5ce723499b03ab52158ab3
parent80b865bdc856960faa5ce72dc3c79bfcbcc3839a
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.
ChangeLog
grub-core/osdep/windows/platform.c