aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2022-07-01 14:14:15 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2022-07-07 17:21:43 -0400
commitf8191d40aa612981ce897e66cda6a88db8df17bb (patch)
treecd7347571fe23bb83e1be6fec87c5d7ad54d6d90 /tools/perf/scripts/python/stackcollapse.py
parent4ecc9b0271a7623deabcbe8fcb39f065701d8f74 (diff)
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions