mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: khazhy@google.com
Cc: linux-kernel@vger.kernel.org, bvanassche@acm.org,
	linux-block@vger.kernel.org
Subject: Re: [PATCH v2] block/compat_ioctl: fix range check in BLKGETSIZE
Date: Fri, 15 Apr 2022 06:42:30 -0600	[thread overview]
Message-ID: <165002655078.10530.5825902345538532925.b4-ty@kernel.dk> (raw)
In-Reply-To: <20220414224056.2875681-1-khazhy@google.com>

On Thu, 14 Apr 2022 15:40:56 -0700, Khazhismel Kumykov wrote:
> kernel ulong and compat_ulong_t may not be same width. Use type directly
> to eliminate mismatches.
> 
> This would result in truncation rather than EFBIG for 32bit mode for
> large disks.
> 
> 
> [...]

Applied, thanks!

[1/1] block/compat_ioctl: fix range check in BLKGETSIZE
      commit: ccf16413e520164eb718cf8b22a30438da80ff23

Best regards,
-- 
Jens Axboe



      parent reply	other threads:[~2022-04-15 12:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-08 23:47 [PATCH] " Khazhismel Kumykov
2022-04-09 21:33 ` Bart Van Assche
2022-04-14 22:40 ` [PATCH v2] " Khazhismel Kumykov
2022-04-15  5:25   ` Chaitanya Kulkarni
2022-04-15 12:42   ` Jens Axboe [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=165002655078.10530.5825902345538532925.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=bvanassche@acm.org \
    --cc=khazhy@google.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®