commit | 5121a9aa0299a2c23b3c50bf110ab4a05677c740 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Mar 05 13:32:47 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 05 13:32:47 2012 +0100 |
tree | 2552471a98d5e1dccb6b78ca3759a0870f0ae6c5 | |
parent | b29ad56266faa33326de00e315d2b34b735fb028 [diff] |
Add client references We have a use-after-free in the fio_handle_clients() loop. If we receive a QUIT command, we remove the client in fio_handle_client(). But fio_handle_clients() doesn't have a way to detect this, so it checks client->error after it has potentially been freed. Add a simple reference to get rid of this problem. Signed-off-by: Jens Axboe <axboe@kernel.dk>