diff options
author | Jens Axboe <[email protected]> | 2022-12-19 07:28:26 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-12-19 07:35:16 -0700 |
commit | 990a4de57e44f4f4cfc33c90d2ec5d285b7c8342 (patch) | |
tree | ad7c78ea4d3c6dd041985afd9fe4a5dfdad8a712 /lib/mpi/mpiutil.c | |
parent | 35d90f95cfa773b7e3b1f57ba15ce06a470f354c (diff) |
io_uring/net: ensure compat import handlers clear free_iov
If we're not allocating the vectors because the count is below
UIO_FASTIOV, we still do need to properly clear ->free_iov to prevent
an erronous free of on-stack data.
Reported-by: Jiri Slaby <[email protected]>
Fixes: 4c17a496a7a0 ("io_uring/net: fix cleanup double free free_iov init")
Cc: [email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions