diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2023-04-26 17:26:39 -0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2023-08-30 07:39:59 -0400 |
commit | 87ec6f55af38e29be5b2b65a8acf84da73e06d06 (patch) | |
tree | a8a63419dadb9c1e678d45d669c4abcf18662b76 /qemu-io-cmds.c | |
parent | e2f938265e0aa8486303d260f3cb13d5bb9e9d6a (diff) |
aio-posix: zero out io_uring sqe user_data
liburing does not clear sqe->user_data. We must do it ourselves to avoid
undefined behavior in process_cqe() when user_data is used.
Note that fdmon-io_uring is currently disabled, so this is a latent bug
that does not affect users. Let's merge this fix now to make it easier
to enable fdmon-io_uring in the future (and I'm working on that).
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20230426212639.82310-1-stefanha@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions