aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAleksandr Miloserdov <[email protected]>2021-02-09 10:22:02 +0300
committerMartin K. Petersen <[email protected]>2021-02-22 22:21:29 -0500
commit14d24e2cc77411301e906a8cf41884739de192de (patch)
tree32c9edc56511afe7d2135d9d4fe8dc67920b7582 /tools/perf/scripts/python/exported-sql-viewer.py
parent1c73e0c5e54d5f7d77f422a10b03ebe61eaed5ad (diff)
scsi: target: core: Prevent underflow for service actions
TCM buffer length doesn't necessarily equal 8 + ADDITIONAL LENGTH which might be considered an underflow in case of Data-In size being greater than 8 + ADDITIONAL LENGTH. So truncate buffer length to prevent underflow. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Roman Bolshakov <[email protected]> Reviewed-by: Bodo Stroesser <[email protected]> Signed-off-by: Aleksandr Miloserdov <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions