Re: [PATCH] io_uring: Check socket is valid in io_bind()/io_listen()

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

 



On 7/13/24 4:05 AM, Tetsuo Handa wrote:
> We need to check that sock_from_file(req->file) != NULL.

Yep indeed, that was missed. Thanks, I'll apply this, just moving
the assignment to where the NULL check is for consistency's sake.

-- 
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