diff options
author | Ming Lei <[email protected]> | 2024-10-31 19:02:24 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-10-31 07:40:34 -0600 |
commit | 496a51b37143c690a06612a6bd58827ef2341761 (patch) | |
tree | 60d2a9a84c55f3febede757ed57bf020efa638d6 /tools/perf/scripts/python/parallel-perf.py | |
parent | 133008e84b99e4f5f8cf3d8b768c995732df9406 (diff) |
lib/iov_iter.c: initialize bi.bi_idx before iterating over bvec
Initialize bi.bi_idx as 0 before iterating over bvec, otherwise
garbage data can be used as ->bi_idx.
Cc: Christoph Hellwig <[email protected]>
Reported-and-tested-by: Klara Modin <[email protected]>
Fixes: e4e535bff2bc ("iov_iter: don't require contiguous pages in iov_iter_extract_bvec_pages")
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions