Am 2010-09-28 22:24, schrieb Vladimir 'φ-coder/phcoder' Serbinenko:
I didn't respond to the patch because it's not correct: it only
propagates the restriction instead of removing it. Thanks for reporting
the issue. I'll fix it tomorrow (hopefully)

yes, there are more consequent ways to solve the problem.
my simple patch doesn't distinguish between all the special cases:

 index == 0xffff: spare disk,
 index == 0xfffe: faulty disk
 index out of range (>= GRUB_RAID_MAX_DEVICES).

it makes a very simple test and ignores all affected devices in any case. isn't that enough to prevent the segmentation fault?

it would be nice, if you could find a better workaround.

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to