diff options
| author | Dan Carpenter <[email protected]> | 2021-12-14 07:05:27 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-12-17 03:46:30 +0000 |
| commit | 9020be114a47bf7ff33e179b3bb0016b91a098e6 (patch) | |
| tree | d1312e9faaf539e5089ea9b5c0c6414cdd5fce6b /tools/perf/builtin-script.c | |
| parent | scsi: pm8001: Fix phys_to_virt() usage on dma_addr_t (diff) | |
| download | kernel-9020be114a47bf7ff33e179b3bb0016b91a098e6.tar.gz kernel-9020be114a47bf7ff33e179b3bb0016b91a098e6.zip | |
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: bd2cdd5e400f ("scsi: lpfc: NVME Initiator: Add debugfs support")
Reviewed-by: James Smart <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
