[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 2 May 2022 20:51:40 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Enze Li <lienze@...inos.cn>, jejb@...ux.ibm.com
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH v2] scsi: sr: add handling of memory allocation failures when calling get_capabilities
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
Powered by blists - more mailing lists