diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-02-14 17:38:55 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-02-16 03:37:35 +0100 |
commit | 40a4c2c392593b57a2e6f6438794492596279838 (patch) | |
tree | e286b7a6581d7e4af086f100e1dcb99e79eda92a /drivers/scsi/bfa | |
parent | scsi: snic: switch to pci_irq_alloc_vectors (diff) | |
download | linux-40a4c2c392593b57a2e6f6438794492596279838.tar.xz linux-40a4c2c392593b57a2e6f6438794492596279838.zip |
scsi: megaraid_sas: array overflow in megasas_dump_frame()
The "sz" variable is in terms of bytes, but we're treating the buffer as
an array of __le32 so we have to divide by 4.
Fixes: def0eab3af86 ("scsi: megaraid_sas: enhance debug logs in OCR context")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bfa')
0 files changed, 0 insertions, 0 deletions