* grub-core/kern/emu/hostdisk.c (open_device): Set data->fd to -1 if

openning fails.
	Reported by: Mark Korenberg.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-05-09 18:48:50 +02:00
parent 157effb745
commit fa68d99c45
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2011-05-09 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/hostdisk.c (open_device): Set data->fd to -1 if
openning fails.
Reported by: Mark Korenberg.
2011-05-09 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/hostdisk.c (linux_find_partition): Prevent possible