diff options
author | 2021-03-24 22:59:01 +0000 | |
---|---|---|
committer | 2021-04-11 17:42:00 -0600 | |
commit | 50e96989d736b8e5623059815247be01ca6713c1 (patch) | |
tree | 06c95005b9bb4209e110cb1c2e506f1cdc79be02 /kernel/task_work.c | |
parent | io_uring: allow SQPOLL without CAP_SYS_ADMIN or CAP_SYS_NICE (diff) | |
download | wireguard-linux-50e96989d736b8e5623059815247be01ca6713c1.tar.xz wireguard-linux-50e96989d736b8e5623059815247be01ca6713c1.zip |
io_uring: reg buffer overflow checks hardening
We are safe with overflows in io_sqe_buffer_register() because it will
just yield alloc failure, but it's nicer to check explicitly.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/2b0625551be3d97b80a5fd21c8cd79dc1c91f0b5.1616624589.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions