diff options
| author | James Smart <jsmart2021@gmail.com> | 2022-07-01 14:14:15 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-07-07 17:21:43 -0400 |
| commit | f8191d40aa612981ce897e66cda6a88db8df17bb (patch) | |
| tree | cd7347571fe23bb83e1be6fec87c5d7ad54d6d90 /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | scsi: lpfc: Fix uninitialized cqe field in lpfc_nvme_cancel_iocb() (diff) | |
| download | linux-f8191d40aa612981ce897e66cda6a88db8df17bb.tar.gz linux-f8191d40aa612981ce897e66cda6a88db8df17bb.zip | |
scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input
Malformed user input to debugfs results in buffer overflow crashes. Adapt
input string lengths to fit within internal buffers, leaving space for NULL
terminators.
Link: https://lore.kernel.org/r/20220701211425.2708-3-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
