Messages in this thread | | | From | Chaitanya Kulkarni <> | Subject | Re: [PATCH v2] block/compat_ioctl: fix range check in BLKGETSIZE | Date | Fri, 15 Apr 2022 05:25:46 +0000 |
| |
On 4/14/22 15:40, 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. > > Reviewed-by: Bart Van Assche <bvanassche@acm.org> > Signed-off-by: Khazhismel Kumykov <khazhy@google.com> > ---
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
-ck
| |