mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 10:10:29 +00:00
* grub-core/partmap/msdos.c (grub_partition_msdos_iterate):
Fix off by one error in enumerating extended partitions.
This commit is contained in:
1 parent
21aecde5f6
commit
df6da5a52d
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2012-02-27 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/partmap/msdos.c (grub_partition_msdos_iterate):
|
||||||
|
Fix off by one error in enumerating extended partitions.
|
||||||
|
|
||||||
2013-02-26 Andrey Borzenkov <arvidjaar@gmail.com>
|
2013-02-26 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
* grub-core/disk/efi/efidisk.c(grub_efidisk_get_device_name): Fix
|
* grub-core/disk/efi/efidisk.c(grub_efidisk_get_device_name): Fix
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ grub_partition_msdos_iterate (grub_disk_t disk,
|
|||||||
if (hook (disk, &p, hook_data))
|
if (hook (disk, &p, hook_data))
|
||||||
return grub_errno;
|
return grub_errno;
|
||||||
}
|
}
|
||||||
else if (p.number < 4)
|
else if (p.number < 3)
|
||||||
/* If this partition is a logical one, shouldn't increase the
|
/* If this partition is a logical one, shouldn't increase the
|
||||||
partition number. */
|
partition number. */
|
||||||
p.number++;
|
p.number++;
|
||||||
|
|||||||
Reference in new issue
Block a user