grub/grub-core/partmap
Michael Chang 8ada906031 msdos: Fix overflow in converting partition start and length into 512B blocks
When booting from NVME SSD with 4k sector size, it fails with the message.

error: attempt to read or write outside of partition.

This patch fixes the problem by fixing overflow in converting partition start
and length into 512B blocks.

Signed-off-by: Michael Chang <mchang@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2018-09-27 14:56:45 +02:00
..
acorn.c cleanup: grub_cpu_to_XXX_compile_time for constants 2014-09-22 20:47:10 +04:00
amiga.c
apple.c
bsdlabel.c cleanup: grub_cpu_to_XXX_compile_time for constants 2014-09-22 20:47:10 +04:00
dfly.c
dvh.c
gpt.c disk: Update grub_gpt_partentry 2018-04-23 13:21:45 +02:00
msdos.c msdos: Fix overflow in converting partition start and length into 512B blocks 2018-09-27 14:56:45 +02:00
plan.c
sun.c core/partmap: rename 'sun' to avoid clash with predefined symbol 2015-04-13 19:49:15 +03:00
sunpc.c core/partmap: rename 'sun' to avoid clash with predefined symbol 2015-04-13 19:49:15 +03:00