linux/drivers/scsi/qla2xxx
Dan Carpenter e11e285b9c scsi: qla2xxx: edif: Fix off by one bug in qla_edif_app_getfcinfo()
The > comparison needs to be >= to prevent accessing one element beyond the
end of the app_reply->ports[] array.

Link: https://lore.kernel.org/r/20211109115219.GE16587@kili
Fixes: 7878f22a2e ("scsi: qla2xxx: edif: Add getfcinfo and statistic bsgs")
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-11-18 22:00:18 -05:00
..
Kconfig
Makefile scsi: qla2xxx: edif: Add start + stop bsgs 2021-07-27 00:06:42 -04:00
qla_attr.c scsi: qla2xxx: edif: Reduce connection thrash 2021-10-26 23:52:00 -04:00
qla_bsg.c SCSI misc on 20211105 2021-11-05 08:42:02 -07:00
qla_bsg.h scsi: qla2xxx: Add support for mailbox passthru 2021-09-14 23:33:19 -04:00
qla_dbg.c scsi: qla2xxx: Changes to support FCP2 Target 2021-08-11 23:17:42 -04:00
qla_dbg.h scsi: qla2xxx: edif: Add start + stop bsgs 2021-07-27 00:06:42 -04:00
qla_def.h scsi: qla2xxx: edif: Tweak trace message 2021-10-26 23:52:00 -04:00
qla_devtbl.h
qla_dfs.c scsi: qla2xxx: Remove unnecessary NULL check 2021-01-22 22:04:16 -05:00
qla_dsd.h
qla_edif_bsg.h scsi: qla2xxx: edif: Increase ELS payload 2021-10-26 23:52:00 -04:00
qla_edif.c scsi: qla2xxx: edif: Fix off by one bug in qla_edif_app_getfcinfo() 2021-11-18 22:00:18 -05:00
qla_edif.h scsi: qla2xxx: edif: Fix inconsistent check of db_flags 2021-10-26 23:52:00 -04:00
qla_fw.h scsi: qla2xxx: edif: Add N2N support for EDIF 2021-08-23 22:36:53 -04:00
qla_gbl.h scsi: qla2xxx: edif: Flush stale events and msgs on session down 2021-10-26 23:51:59 -04:00
qla_gs.c scsi: qla2xxx: Display 16G only as supported speeds for 3830c card 2021-09-14 23:33:19 -04:00
qla_init.c scsi: qla2xxx: edif: Fix inconsistent check of db_flags 2021-10-26 23:52:00 -04:00
qla_inline.h scsi: qla2xxx: edif: Add N2N support for EDIF 2021-08-23 22:36:53 -04:00
qla_iocb.c scsi: qla2xxx: edif: Fix inconsistent check of db_flags 2021-10-26 23:52:00 -04:00
qla_isr.c scsi: qla2xxx: edif: Tweak trace message 2021-10-26 23:52:00 -04:00
qla_mbx.c scsi: qla2xxx: Fix mailbox direction flags in qla2xxx_get_adapter_id() 2021-11-16 19:42:32 -05:00
qla_mid.c scsi: qla2xxx: Fix unsafe removal from linked list 2021-08-11 23:17:56 -04:00
qla_mr.c scsi: qla2xxx: Turn off target reset during issue_lip 2021-10-26 23:51:59 -04:00
qla_mr.h scsi: qla2xxx: Suppress Coverity complaints about dseg_r* 2021-03-24 21:47:20 -04:00
qla_nvme.c SCSI misc on 20211105 2021-11-05 08:42:02 -07:00
qla_nvme.h SPDX patches for 5.10-rc1 2020-10-14 16:19:42 -07:00
qla_nx2.c scsi: qla2xxx: Simplify qla8044_minidump_process_control() 2021-03-24 21:47:21 -04:00
qla_nx2.h scsi/qla2xxx: Convert to SPDX license identifiers 2020-09-16 14:31:50 +02:00
qla_nx.c scsi: qla2xxx: Remove unused variable 'status' 2021-07-27 00:06:42 -04:00
qla_nx.h scsi/qla2xxx: Convert to SPDX license identifiers 2020-09-16 14:31:50 +02:00
qla_os.c SCSI misc on 20211105 2021-11-05 08:42:02 -07:00
qla_settings.h scsi/qla2xxx: Convert to SPDX license identifiers 2020-09-16 14:31:50 +02:00
qla_sup.c scsi: qla2xxx: Remove redundant continue statement in a for-loop 2021-07-18 21:31:28 -04:00
qla_target.c Merge branch '5.15/scsi-fixes' into 5.16/scsi-queue 2021-11-03 21:46:00 -04:00
qla_target.h scsi: qla2xxx: edif: Add encryption to I/O path 2021-07-27 00:06:43 -04:00
qla_tmpl.c SCSI misc on 20201216 2020-12-16 13:34:31 -08:00
qla_tmpl.h scsi: qla2xxx: Fix crash during driver load on big endian machines 2020-12-09 11:34:17 -05:00
qla_version.h scsi: qla2xxx: Update version to 10.02.07.200-k 2021-10-26 23:52:01 -04:00
tcm_qla2xxx.c scsi: target: qla2xxx: Replace enable attr with ops.enable 2021-10-04 23:27:38 -04:00
tcm_qla2xxx.h