diff options
author | Pavel Begunkov <[email protected]> | 2020-11-29 18:33:32 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-11-30 11:12:03 -0700 |
commit | 2d280bc8930ba9ed1705cfd548c6c8924949eaf1 (patch) | |
tree | ca26780dd333d3d3cd1193f38af32ed0a9ac0101 /lib | |
parent | af60470347de6ac2b9f0cc3703975a543a3de075 (diff) |
io_uring: fix recvmsg setup with compat buf-select
__io_compat_recvmsg_copy_hdr() with REQ_F_BUFFER_SELECT reads out iov
len but never assigns it to iov/fast_iov, leaving sr->len with garbage.
Hopefully, following io_buffer_select() truncates it to the selected
buffer size, but the value is still may be under what was specified.
Cc: <[email protected]> # 5.7
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions