2009-04-08 Felix Zielcke <fzielcke@z-51.de>

* disk/lvm.c (grub_lvm_scan_device): Add a missing NULL check.
This commit is contained in:
fzielcke 2009-04-08 15:03:50 +00:00
parent ea3f72cf0e
commit af63ada2bd
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2009-04-08 Felix Zielcke <fzielcke@z-51.de>
* disk/lvm.c (grub_lvm_scan_device): Add a missing NULL check.
2009-04-07 David S. Miller <davem@davemloft.net> 2009-04-07 David S. Miller <davem@davemloft.net>
* kern/sparc64/dl.c (grub_arch_dl_relocate_symbols): Add * kern/sparc64/dl.c (grub_arch_dl_relocate_symbols): Add

View file

@ -530,6 +530,7 @@ grub_lvm_scan_device (const char *name)
goto fail4; goto fail4;
} }
if (p != NULL)
p = grub_strchr (p, '}'); p = grub_strchr (p, '}');
if (p == NULL) if (p == NULL)
goto lvs_fail; goto lvs_fail;