Re: [patch] scsi: megaraid_sas: array overflow in megasas_dump_frame()

Martin K. Petersen
2017-02-16T02:38:09Z

>>>>> "Dan" = Dan Carpenter <dan.carpenter@oracle.com> writes:

Dan> The "sz" variable is in terms of bytes, but we're treating the
Dan> buffer as an array of __le32 so we have to divide by 4.

Dan> Fixes: def0eab3af86 ("scsi: megaraid_sas: enhance debug logs in OCR
Dan> context") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Applied to 4.11/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering