summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2026-02-05 21:04:43 +0300
committerJens Axboe <axboe@kernel.dk>2026-02-10 15:26:12 +0300
commit417d029dc412c1028bce3d4685700332c0539a95 (patch)
treed575e4e2de5e13f199e7a89718340fb14206143d /include/uapi/linux
parentdaa0b901f8319414cf9f56237f15240b95e4b1b2 (diff)
downloadlinux-417d029dc412c1028bce3d4685700332c0539a95.tar.xz
io_uring/zcrx: improve types for size calculation
Make sure io_import_umem() promotes the type to long before calculating the area size. While the area size is capped at 1GB by io_validate_user_buf_range() and fits into an "int", it's still too error prone. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions