diff options
author | Pavel Begunkov <[email protected]> | 2023-08-24 23:53:24 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-08-24 17:16:19 -0600 |
commit | 31d3ba924fd86add6d14f9085fdd2f4ec0879631 (patch) | |
tree | 2fa24d94e1e036151b404e4504e963d902f84725 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a0727c738309a06ef5579c1742f8f0def63aa883 (diff) |
io_uring: cqe init hardening
io_kiocb::cqe stores the completion info which we'll memcpy to
userspace, and we rely on callbacks and other later steps to populate
it with right values. We have never had problems with that, but it would
still be safer to zero it on allocation.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/b16a3b64dde678686460d3c3792c3ba6d3d1bc7a.1692916914.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions