aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-08-23 07:26:08 -0600
committerJens Axboe <axboe@kernel.dk>2022-08-23 07:26:08 -0600
commit47abea041f897d64dbd5777f0cf7745148f85d75 (patch)
tree12da1cc86a67e9ae113af1f5942a5a72e8765fc5 /lib/mpi/mpi-inline.h
parente1d0c6d05afdcff01ace698edb3b8808db1dc066 (diff)
io_uring: fix off-by-one in sync cancelation file check
The passed in index should be validated against the number of registered files we have, it needs to be smaller than the index value to avoid going one beyond the end. Fixes: 78a861b94959 ("io_uring: add sync cancelation API through io_uring_register()") Reported-by: Luo Likang <luolikang@nsfocus.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions