grub/grub-core/partmap
Michael Chang 5a0a15c05b 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>
2020-09-21 13:29:05 -04:00
..
acorn.c cleanup: grub_cpu_to_XXX_compile_time for constants 2014-09-22 20:47:10 +04:00
amiga.c Add gcc_struct to all packed structures when compiling with mingw. 2013-12-15 14:14:30 +01:00
apple.c * grub-core/partmap/apple.c (apple_partition_map_iterate): Add 2013-04-01 02:58:47 +02:00
bsdlabel.c cleanup: grub_cpu_to_XXX_compile_time for constants 2014-09-22 20:47:10 +04:00
dfly.c * grub-core/partmap/dfly.c: Simplify dprintfs for easier gettext 2013-08-02 22:56:20 +02:00
dvh.c Add gcc_struct to all packed structures when compiling with mingw. 2013-12-15 14:14:30 +01:00
gpt.c disk: Update grub_gpt_partentry 2020-09-21 13:19:10 -04:00
msdos.c msdos: Fix overflow in converting partition start and length into 512B blocks 2020-09-21 13:29:05 -04:00
plan.c Remove nested functions from device iterators. 2013-01-20 15:52:15 +00:00
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