commit | aa340845ae6f019e0a12321a1741c14679bb0664 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jul 08 21:47:11 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jul 08 13:15:04 2020 -0600 |
tree | a3e80c1d69261f0debc3c31188f79164ff9f124c | |
parent | b2edc0a77fac19bbdef63cedb2ea34aec1a9a499 [diff] |
io_uring: fix a use after free in io_async_task_func() The "apoll" variable is freed and then used on the next line. We need to move the free down a few lines. Fixes: 0be0b0e33b0b ("io_uring: simplify io_async_task_func()") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>