forked from pool/grub2
Ludwig Nussel
ca2c73f3bf
1 OBS-URL: https://build.opensuse.org/request/show/244659 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=97
14 lines
646 B
Diff
14 lines
646 B
Diff
Index: grub-2.02~beta2/grub-core/fs/btrfs.c
|
|
===================================================================
|
|
--- grub-2.02~beta2.orig/grub-core/fs/btrfs.c
|
|
+++ grub-2.02~beta2/grub-core/fs/btrfs.c
|
|
@@ -1051,7 +1051,7 @@ grub_btrfs_extent_read (struct grub_btrf
|
|
|
|
data->extend = data->extstart + grub_le_to_cpu64 (data->extent->size);
|
|
if (data->extent->type == GRUB_BTRFS_EXTENT_REGULAR
|
|
- && (char *) &data->extent + elemsize
|
|
+ && (char *) data->extent + elemsize
|
|
>= (char *) &data->extent->filled + sizeof (data->extent->filled))
|
|
data->extend =
|
|
data->extstart + grub_le_to_cpu64 (data->extent->filled);
|