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

From: Martin K. Petersen
Date: Thu May 05 2022 - 12:36:03 EST


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