aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDavid Disseldorp <[email protected]>2019-09-12 11:55:46 +0200
committerMartin K. Petersen <[email protected]>2019-10-22 22:14:25 -0400
commit95f8f6a974cc99c10530accc785267859c2b6c14 (patch)
tree15c07bdc2c2fab6f92497fddfee18673719fbfd6 /tools/perf/scripts/python/event_analyzing_sample.py
parent9cef2a7955f2754257a7cddedec16edae7b587d0 (diff)
scsi: target: fix SendTargets=All string compares
strncmp is currently used for "SendTargets" key and "All" value matching without checking for trailing garbage. This means that Text request PDUs with garbage such as "SendTargetsPlease=All" and "SendTargets=Alle" are processed successfully as if they were "SendTargets=All" requests. Reviewed-by: Mike Christie <[email protected]> Signed-off-by: David Disseldorp <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions