]> Git Repo - qemu.git/commit
virtio-blk: fix reference a pointer which might be freed
authorzhanghailiang <[email protected]>
Mon, 18 Aug 2014 07:42:50 +0000 (15:42 +0800)
committerKevin Wolf <[email protected]>
Wed, 20 Aug 2014 09:57:05 +0000 (11:57 +0200)
commit1bdb176ac5add5dc9d54a230da7511b66851f1e7
tree6d29a82d88ccac9aaa66ae1bc3aedfaa79a2e4b0
parent466560b9fcada2656b276eb30e25da15a6e706df
virtio-blk: fix reference a pointer which might be freed

In function virtio_blk_handle_request, it may freed memory pointed by req,
So do not access member of req after calling this function.

Cc: [email protected]
Reviewed-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: zhanghailiang <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
hw/block/virtio-blk.c
This page took 0.025812 seconds and 4 git commands to generate.