OSDN Git Service

scsi: hisi_sas: Fix out of bound at debug_I_T_nexus_reset()
authorLuo Jiaxing <luojiaxing@huawei.com>
Mon, 5 Aug 2019 13:48:03 +0000 (21:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 8 Aug 2019 02:13:15 +0000 (22:13 -0400)
commit445ee2de112a18419aeae72fdae4221cd90f2948
tree63d79df456aa516595f28a13032f8e97c0433415
parentb0b3e4290e288bb633c4ff6331b2c0b9530aa9b8
scsi: hisi_sas: Fix out of bound at debug_I_T_nexus_reset()

Fix a possible out-of-bounds access in hisi_sas_debug_I_T_nexus_reset().

Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c