mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-18 22:52:05 +00:00
2010-01-31 Vladimir Serbinenko <phcoder@gmail.com>
* disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Fix off-by-one error.
This commit is contained in:
parent
61e89d9db6
commit
3b205d4ddf
@ -1,3 +1,7 @@
|
||||
2010-01-31 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Fix off-by-one error.
|
||||
|
||||
2010-01-31 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* font/font.c (find_glyph): Check that bmp_idx is available before
|
||||
|
@ -118,7 +118,7 @@ grub_ofdisk_iterate (int (*hook) (const char *name))
|
||||
static char *
|
||||
compute_dev_path (const char *name)
|
||||
{
|
||||
char *devpath = grub_malloc (grub_strlen (name) + 2);
|
||||
char *devpath = grub_malloc (grub_strlen (name) + 3);
|
||||
char *p, c;
|
||||
|
||||
if (!devpath)
|
||||
|
Loading…
Reference in New Issue
Block a user