提交 83afa38e 编写于 作者: G Gerd Hoffmann

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: NGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: NDon Koch <dkoch@verizon.com>
上级 3e9418e1
......@@ -29,8 +29,10 @@
#include "hw/pci/pci.h"
#undef VERBOSE
#if 0
#define HW_RECT_ACCEL
#define HW_FILL_ACCEL
#endif
#define HW_MOUSE_ACCEL
#include "vga_int.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册