* disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Fix off-by-one error.
+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
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)