[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e40fc93d-ddb1-23a5-725c-e8ab613168cb@kernel.dk>
Date: Thu, 2 Aug 2018 15:31:52 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Khazhismel Kumykov <khazhy@...gle.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block/compat_ioctl: fix range check in BLKGETSIZE
On 4/6/18 4:23 PM, 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.
Sorry for not getting to this. Applied, thanks.
--
Jens Axboe
Powered by blists - more mailing lists