Re: [PATCH] t/io_uring: avoid null-ptr dereference incase setup_ring fails

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

 



On Fri, 28 Apr 2023 01:14:15 +0530, Anuj Gupta wrote:
> s->sq_ring.ring_entries and s->cq_ring.ring_entries will be NULL,
> incase setup_ring fails. This will cause a segmentation fault. Avoid
> dereferencing them in such a scenario.
> 
> 

Applied, thanks!

[1/1] t/io_uring: avoid null-ptr dereference incase setup_ring fails
      commit: bea469e86ba2bd4a5b6a5af18455b0b01da2b67b

Best regards,
-- 
Jens Axboe






[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux