]> xenbits.xensource.com Git - qemu-upstream-4.3-testing.git/commit
vmware-vga: CVE-2014-3689: turn off hw accel
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 4 Mar 2015 17:55:51 +0000 (17:55 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 5 Mar 2015 13:21:57 +0000 (13:21 +0000)
commitd36794af8ad947a2d3eb33df2137980366b63d49
treec6f26fa420ed69eb459b786bc0b452e713c1e2c4
parent17f77d73cec4dd4178e95c6b1abd2fa87daaef78
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>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/vmware_vga.c