WSL2-Linux-Kernel/drivers/scsi/lpfc
Dan Carpenter 9020be114a scsi: lpfc: Terminate string in lpfc_debugfs_nvmeio_trc_write()
The "mybuf" string comes from the user, so we need to ensure that it is NUL
terminated.

Link: https://lore.kernel.org/r/20211214070527.GA27934@kili
Fixes: bd2cdd5e40 ("scsi: lpfc: NVME Initiator: Add debugfs support")
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-12-16 22:46:30 -05:00
..
Makefile
lpfc.h SCSI misc on 20211105 2021-11-05 08:42:02 -07:00
lpfc_attr.c scsi: lpfc: Switch to attribute groups 2021-10-16 21:45:56 -04:00
lpfc_attr.h
lpfc_bsg.c
lpfc_bsg.h
lpfc_compat.h
lpfc_crtn.h scsi: lpfc: Allow fabric node recovery if recovery is in progress before devloss 2021-10-20 23:33:46 -04:00
lpfc_ct.c
lpfc_debugfs.c scsi: lpfc: Terminate string in lpfc_debugfs_nvmeio_trc_write() 2021-12-16 22:46:30 -05:00
lpfc_debugfs.h
lpfc_disc.h scsi: lpfc: Allow fabric node recovery if recovery is in progress before devloss 2021-10-20 23:33:46 -04:00
lpfc_els.c scsi: lpfc: Fix non-recovery of remote ports following an unsolicited LOGO 2021-11-23 21:57:13 -05:00
lpfc_hbadisc.c scsi: lpfc: Allow fabric node recovery if recovery is in progress before devloss 2021-10-20 23:33:46 -04:00
lpfc_hw.h
lpfc_hw4.h Merge branch '5.15/scsi-fixes' into 5.16/scsi-staging 2021-10-12 11:58:12 -04:00
lpfc_ids.h
lpfc_init.c scsi: lpfc: Allow fabric node recovery if recovery is in progress before devloss 2021-10-20 23:33:46 -04:00
lpfc_logmsg.h
lpfc_mbox.c
lpfc_mem.c
lpfc_nl.h
lpfc_nportdisc.c
lpfc_nvme.c Merge branch '5.15/scsi-fixes' into 5.16/scsi-staging 2021-10-12 11:58:12 -04:00
lpfc_nvme.h
lpfc_nvmet.c scsi: lpfc: Improve PBDE checks during SGL processing 2021-09-14 23:33:22 -04:00
lpfc_scsi.c scsi: lpfc: Allow fabric node recovery if recovery is in progress before devloss 2021-10-20 23:33:46 -04:00
lpfc_scsi.h
lpfc_sli.c scsi: lpfc: Fix link down processing to address NULL pointer dereference 2021-10-20 23:33:46 -04:00
lpfc_sli.h
lpfc_sli4.h scsi: lpfc: Fix EEH support for NVMe I/O 2021-09-14 23:33:21 -04:00
lpfc_version.h scsi: lpfc: Update lpfc version to 14.0.0.3 2021-10-20 23:33:46 -04:00
lpfc_vport.c
lpfc_vport.h