Commit 34bb771
io_uring: nospec index for tags on files update
Don't forget to array_index_nospec() for indexes before updating rsrc
tags in __io_sqe_files_update(), just use already safe and precalculated
index @i.
Fixes: c3bdad0 ("io_uring: add generic rsrc update with tags")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 0f5e4b8 commit 34bb771
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9094 | 9094 | | |
9095 | 9095 | | |
9096 | 9096 | | |
9097 | | - | |
| 9097 | + | |
9098 | 9098 | | |
9099 | 9099 | | |
9100 | 9100 | | |
| |||
0 commit comments