You forgot to attach the patch

Le mer. 24 août 2016 17:52, Carlo Caione <[email protected]> a écrit :

> From: Carlo Caione <[email protected]>
>
> We have a big image (~6GB) in an exFAT partition. We want to read the
> content
> of the image using the loopback command in grub.
>
> What we get is an error message:
>
> grub> loopback loop0 (hd1,gpt1)/endless/endless.img
> grub> ls (loop0,gpt3)/boot
> error: attempt to read or write outside of disk `loop0'.
>
> We traced this error back to the wrong type for the 'file_size' variable
> in the
> 'grub_fat_data' struct. When MODE_EXFAT is defined and grub is compiled for
> i386-pc, 'file_size' is still a 32bit variable when it should really be a
> 64bit
> variable to fully contain the size of the >4GB file we are dealing with.
>
> Carlo Caione (1):
>   FAT/exFAT: Fix wrong size detection for files > 4GB
>
>  grub-core/fs/fat.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> --
> 2.7.4
>
>
> _______________________________________________
> Grub-devel mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to