Commit 32452a3
io_uring: fix uninitialized field in rw io_kiocb
io_rw_init_file does not initialize kiocb->private, so when iocb_bio_iopoll
reads kiocb->private it can contain uninitialized data.
Fixes: 3e08773 ("block: switch polling to be bio based")
Signed-off-by: Joseph Ravichandran <jravi@mit.edu>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 5a1e99b commit 32452a3
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3783 | 3783 | | |
3784 | 3784 | | |
3785 | 3785 | | |
| 3786 | + | |
3786 | 3787 | | |
3787 | 3788 | | |
3788 | 3789 | | |
| |||
0 commit comments