Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information