diff options
| author | Dan Carpenter <[email protected]> | 2021-09-16 13:22:51 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-09-22 04:14:34 +0000 |
| commit | cdbc16c552f27ac211a44f9959d813b4f3188223 (patch) | |
| tree | e0e8823594426015dcf88de93b016f480d7d32d3 /lib/timerqueue.c | |
| parent | scsi: core: Remove 'current_tag' (diff) | |
| download | kernel-cdbc16c552f27ac211a44f9959d813b4f3188223.tar.gz kernel-cdbc16c552f27ac211a44f9959d813b4f3188223.zip | |
scsi: lpfc: Fix sprintf() overflow in lpfc_display_fpin_wwpn()
This scnprintf() uses the wrong limit. It should be
"LPFC_FPIN_WWPN_LINE_SZ - len" instead of LPFC_FPIN_WWPN_LINE_SZ.
Link: https://lore.kernel.org/r/20210916132251.GD25094@kili
Fixes: 428569e66fa7 ("scsi: lpfc: Expand FPIN and RDF receive logging")
Reviewed-by: James Smart <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
