grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Kiper <dkiper@net-space.pl>
To: mchang@suse.com
Cc: grub-devel@gnu.org
Subject: Re: [PATCH] msdos: Fix overflow in converting partition start and length into 512B blocks
Date: Wed, 19 Sep 2018 15:46:59 +0200	[thread overview]
Message-ID: <20180919134659.GC7003@router-fw-old.i.net-space.pl> (raw)
In-Reply-To: <20180913080820.z5mic4tz55a6xtkx@mazu>

On Thu, Sep 13, 2018 at 04:08:20PM +0800, Michael Chang wrote:
> 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>

Daniel


      reply	other threads:[~2018-09-19 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-13  8:08 [PATCH] msdos: Fix overflow in converting partition start and length into 512B blocks Michael Chang
2018-09-19 13:46 ` Daniel Kiper [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180919134659.GC7003@router-fw-old.i.net-space.pl \
    --to=dkiper@net-space.pl \
    --cc=grub-devel@gnu.org \
    --cc=mchang@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).