diff options
| author | Jens Axboe <[email protected]> | 2019-08-07 12:23:57 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-08-07 12:23:57 -0600 |
| commit | 752ead44491e8c91e14d7079625c5916b30921c5 (patch) | |
| tree | 35e8ce8c5b731a922a53b6d45cc48804f0e5af11 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 2d7271501720038381d45fb3dcbe4831228fc8cc (diff) | |
libata: add SG safety checks in SFF pio transfers
Abort processing of a command if we run out of mapped data in the
SG list. This should never happen, but a previous bug caused it to
be possible. Play it safe and attempt to abort nicely if we don't
have more SG segments left.
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions