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

From: Martin K. Petersen
Date: Wed Apr 27 2022 - 22:30:47 EST



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