Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH v2] scsi: sr: add handling of memory allocation failures when calling get_capabilities | Date | Mon, 2 May 2022 20:51:40 -0400 |
| |
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
| |