Re: [PATCH] aio-posix: zero out io_uring sqe user_data

2023-08-24 Thread Stefan Hajnoczi
On Wed, Apr 26, 2023 at 05:26:39PM -0400, Stefan Hajnoczi wrote: > 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 affe

[PATCH] aio-posix: zero out io_uring sqe user_data

2023-04-26 Thread Stefan Hajnoczi
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_uri