Re: [PATCH 2/3] scsi: Protect against buffer possible overflow in scsi_set_sense_information

Martin K. Petersen
2015-07-14T00:54:51Z

>>>>> "Sagi" == Sagi Grimberg <sagig@mellanox.com> writes:

Sagi> Make sure that the input sense buffer has sufficient length to fit
Sagi> the information descriptor (12 additional bytes). Modify
Sagi> scsi_set_sense_information to receive the sense buffer length and
Sagi> adjust it's callers scsi target and libata.

Nitpicking: s/it's/its/

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>

--
Martin K. Petersen Oracle Linux Engineering