aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2018-07-26 14:10:37 -0700
committerMartin K. Petersen <[email protected]>2018-07-30 22:30:32 -0400
commit15d258674b5c91b9c1ae11264624d5c0d0675e8f (patch)
tree90714990e11e5dee7a12fd254ad01430649af2f2 /tools/perf/scripts/python/export-to-sqlite.py
parent5e53be8e476a3397ed5383c23376f299555a2b43 (diff)
scsi: qedi: Fix a potential buffer overflow
Tell snprintf() to store at most 255 characters in the output buffer instead of 256. This patch avoids that smatch reports the following warning: drivers/scsi/qedi/qedi_main.c:891: qedi_get_boot_tgt_info() error: snprintf() is printing too much 256 vs 255 Signed-off-by: Bart Van Assche <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Acked-by: Nilesh Javali <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions