mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 07:00:07 +07:00
4a4c0cfb4b
Smatch complains that the "path_data->handle" variable is user controlled.
It comes from iscsi_set_path() so that seems possible. It's harmless to
add a limit check.
The qedi->ep_tbl[] array has qedi->max_active_conns elements (which is
always ISCSI_MAX_SESS_PER_HBA (4096) elements). The array is allocated in
the qedi_cm_alloc_mem() function.
Link: https://lore.kernel.org/r/20200428131939.GA696531@mwanda
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
qedi_dbg.c | ||
qedi_dbg.h | ||
qedi_debugfs.c | ||
qedi_fw_api.c | ||
qedi_fw_iscsi.h | ||
qedi_fw_scsi.h | ||
qedi_fw.c | ||
qedi_gbl.h | ||
qedi_hsi.h | ||
qedi_iscsi.c | ||
qedi_iscsi.h | ||
qedi_main.c | ||
qedi_nvm_iscsi_cfg.h | ||
qedi_sysfs.c | ||
qedi_version.h | ||
qedi.h |