Re: [PATCH 5.12] io_uring/io-wq: protect against sprintf overflow

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

 



On 4/1/21 2:55 AM, Pavel Begunkov wrote:
> task_pid may be large enough to not fit into the left space of
> TASK_COMM_LEN-sized buffers and overflow in sprintf. We not so care
> about uniqueness, so replace it with safer snprintf().

Applied, thanks.

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