summaryrefslogtreecommitdiffstats
path: root/hw/qxl-render.c
diff options
context:
space:
mode:
authorPaolo Bonzini2011-08-14 23:05:49 +0200
committerBlue Swirl2011-08-16 21:11:51 +0200
commit8b2a04eeb95212305d3a39170e1c4bc3dbe45e8a (patch)
tree383fcc56973c43c7518e99b003c7fb670efe0f3a /hw/qxl-render.c
parenthw/scsi-bus.c: Fix use of uninitialised variable (diff)
downloadqemu-8b2a04eeb95212305d3a39170e1c4bc3dbe45e8a.tar.gz
qemu-8b2a04eeb95212305d3a39170e1c4bc3dbe45e8a.tar.xz
qemu-8b2a04eeb95212305d3a39170e1c4bc3dbe45e8a.zip
scsi: do not overwrite memory on REQUEST SENSE commands with a large buffer
Other scsi_target_reqops commands were careful about not using r->cmd.xfer directly, and instead always cap it to a fixed length. This was not done for REQUEST SENSE, and this patch fixes it. Reported-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/qxl-render.c')
0 files changed, 0 insertions, 0 deletions