summaryrefslogtreecommitdiffstats
path: root/qemu-tech.texi
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-10-08 01:19:00 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-10-09 15:36:15 +0200
commit35e4e96c4d5bfcf8a22930d8e99f7c8c44420062 (patch)
treec5603336cb7682e5aa965e5acba854ed827b9f62 /qemu-tech.texi
parentcdebec5e40bd0af82da0659f37af85ee2aa2c9d1 (diff)
downloadhqemu-35e4e96c4d5bfcf8a22930d8e99f7c8c44420062.zip
hqemu-35e4e96c4d5bfcf8a22930d8e99f7c8c44420062.tar.gz
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>
Diffstat (limited to 'qemu-tech.texi')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud