]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
vmware-vga: CVE-2014-3689: turn off hw accel
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 6 Oct 2014 09:42:34 +0000 (11:42 +0200)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 5 Mar 2015 12:24:31 +0000 (12:24 +0000)
commit07fcd79289717c076b39d36ec666653422ee0646
tree93701bab65c6494a18695d3f6898fd27ce35fb79
parent979e4eaa94f9d9be285183e65a8d70522848cb91
vmware-vga: CVE-2014-3689: turn off hw accel

Quick & easy stopgap for CVE-2014-3689:  We just compile out the
hardware acceleration functions which lack sanity checks.  Thankfully
we have capability bits for them (SVGA_CAP_RECT_COPY and
SVGA_CAP_RECT_FILL), so guests should deal just fine, in theory.

Subsequent patches will add the missing checks and re-enable the
hardware acceleration emulation.

Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Don Koch <dkoch@verizon.com>
hw/display/vmware_vga.c