Re: [PATCH v2] scsi: sr: add handling of memory allocation failures when calling get_capabilities

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

 



On Wed, 27 Apr 2022 10:56:47 +0800, Enze Li wrote:

> The function get_capabilities() has the possibility of failing to
> allocate transfer buffer, but it does not currently handle this, which
> may lead to exceptions when accessing the buffer.
> 
> This patch adds handling when memory allocation fails.
> 
> 
> [...]

Applied to 5.19/scsi-queue, thanks!

[1/1] scsi: sr: add handling of memory allocation failures when calling get_capabilities
      https://git.kernel.org/mkp/scsi/c/ebc95c790653

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux