Thread (3 messages) 3 messages, 2 authors, 2018-08-02

Re: [PATCH] block/compat_ioctl: fix range check in BLKGETSIZE

From: Jens Axboe <axboe@kernel.dk>
Date: 2018-08-02 21:31:58
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help