[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1y1zqj5xj.fsf@ca-mkp.ca.oracle.com>
Date: Wed, 27 Apr 2022 22:30:25 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Enze Li <lienze@...inos.cn>
Cc: jejb@...ux.ibm.com, 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
Enze,
> 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.
Applied to 5.19/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists