lkml.org 
[lkml]   [2022]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] scsi: sr: add handling of memory allocation failures when calling get_capabilities
Date
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

\
 
 \ /
  Last update: 2022-05-05 18:36    [W:0.070 / U:1.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site