* grub-core/kern/emu/getroot.c (grub_guess_root_device): Don't accept

/dev/root as a valid device.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-06-23 19:50:41 +02:00
parent 8a5d6919e1
commit e2d1dba0ae
2 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,12 @@
2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/getroot.c (grub_guess_root_device): Don't accept
/dev/root as a valid device.
2011-06-23 Jim Meyering <meyering@redhat.com>
avoid NULL deref in grub_device_open
Avoid NULL deref in grub_device_open.
* grub-core/kern/device.c (grub_device_open): Don't dereference
a NULL pointer upon failed grub_env_get.