Re: [PATCH v2] io_uring: reg buffer overflow checks hardening

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/24/21 4:59 PM, Pavel Begunkov wrote:
> We are safe with overflows in io_sqe_buffer_register() because it will
> just yield alloc failure, but it's nicer to check explicitly.
> 
> v2: replace u64 with ulong to handle 32 bit and match
>     io_sqe_buffer_register() math. (Jens)

Applied for 5.13 - btw, and I think that was an oversight on this one,
just put the version stuff below the '---' as it should not go into
the git log.

-- 
Jens Axboe




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux