Thread (6 messages) 6 messages, 4 authors, 2022-01-07

Re: [PATCH] scsi: lpfc: Terminate string in lpfc_debugfs_nvmeio_trc_write()

From: James Smart <hidden>
Date: 2021-12-14 15:10:29
Also in: linux-scsi

On 12/13/2021 11:05 PM, Dan Carpenter wrote:
The "mybuf" string comes from the user, so we need to ensure that it is
NUL terminated.

Fixes: bd2cdd5e400f ("scsi: lpfc: NVME Initiator: Add debugfs support")
Signed-off-by: Dan Carpenter <redacted>
---
  drivers/scsi/lpfc/lpfc_debugfs.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Thanks Dan. Looks Good.

Reviewed-by: James Smart <redacted>

-- james
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help