From: davem Date: Mon, 4 May 2009 22:46:55 +0000 (+0000) Subject: * kern/ieee1275/openfw.c (grub_children_iterate): Fix string X-Git-Tag: 1.98~937 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=983598addeeda3fc796b2b055ba1769f3435f1aa;p=thirdparty%2Fgrub.git * kern/ieee1275/openfw.c (grub_children_iterate): Fix string pointer args to grub_ieee1275_get_property(). --- diff --git a/ChangeLog b/ChangeLog index 6bc5f305c..e95759f0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-05-04 David S. Miller + + * kern/ieee1275/openfw.c (grub_children_iterate): Fix string + pointer args to grub_ieee1275_get_property(). + 2009-05-04 Robert Millan * include/grub/i386/linux.h (GRUB_LINUX_VID_MODE_VESA_START): Set diff --git a/kern/ieee1275/openfw.c b/kern/ieee1275/openfw.c index e71256de2..aff410dbf 100644 --- a/kern/ieee1275/openfw.c +++ b/kern/ieee1275/openfw.c @@ -78,7 +78,7 @@ grub_children_iterate (char *devpath, struct grub_ieee1275_devalias alias; grub_ssize_t actual; - if (grub_ieee1275_get_property (child, "device_type", &childtype, + if (grub_ieee1275_get_property (child, "device_type", childtype, sizeof childtype, &actual)) continue; @@ -86,7 +86,7 @@ grub_children_iterate (char *devpath, &actual)) continue; - if (grub_ieee1275_get_property (child, "name", &childname, + if (grub_ieee1275_get_property (child, "name", childname, sizeof childname, &actual)) continue;