grub_read_file() has this in it:
if (len == 0 || len > file->size - file->offset)
len = file->size - file->offset;This is a curious divergence from read(2), and bit me when loading an ELF segment with 0 p_filesz but non-0 p_memsz. Could we remove it? Why is it there in the first place? -Hollis _______________________________________________ Grub-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/grub-devel
