Paolo Bonzini 35e4e96c4d virtio-scsi: fix use-after-free of VirtIOSCSIReq
scsi_req_continue can complete the request and cause the VirtIOSCSIReq
to be freed.  Fetch req->sreq just once to avoid the bug.

Reported-by: Richard Jones <rjones@redhat.com>
Tested-by: Richard Jones <rjones@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-10-09 15:36:15 +02:00
..
2014-08-18 12:06:21 +02:00
2014-08-18 12:06:21 +02:00
2014-04-28 13:48:41 +02:00
2014-09-30 13:30:50 +02:00
2013-09-12 08:46:21 +02:00
2014-09-23 15:40:51 +02:00