diff options
| author | Bart Van Assche <[email protected]> | 2019-01-23 11:12:37 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-01-29 00:49:23 -0500 |
| commit | db5db4b91cabcf57f3efd98d92d24ab875cde8ae (patch) | |
| tree | e9f7a50d213e0ff5022aa8080fea26c144290341 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 59abc8cc05856cb31d6e07a8e25f0d749d559233 (diff) | |
scsi: sd: Protect against READ(6) or WRITE(6) with zero block transfer length
Since the READ(6) and WRITE(6) commands interpret a zero in the transfer
length field in the CDB as 256 logical blocks, avoid submitting such
commands.
Cc: Douglas Gilbert <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Reported-by: Douglas Gilbert <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Douglas Gilbert <[email protected]>
Reviewed-by: Hannes Reinecke <[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