]> git.proxmox.com Git - mirror_qemu.git/commitdiff
megasas: always store SCSIRequest* into MegasasCmd
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Jun 2017 15:26:14 +0000 (17:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 Jun 2017 09:04:05 +0000 (11:04 +0200)
This ensures that the request is unref'ed properly, and avoids a
segmentation fault in the new qtest testcase that is added.
This is CVE-2017-9503.

Reported-by: Zhangyanyu <zyy4013@stu.ouc.edu.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

No differences found