client: fix use-after-free for client timeout
authorJens Axboe <axboe@kernel.dk>
Fri, 1 Dec 2017 02:50:34 +0000 (19:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Dec 2017 02:50:34 +0000 (19:50 -0700)
We free the reply, but if it times out, we dereference it afterwards.
Store the opcode before calling into handle_cmd_timeout().

Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found