aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vga.c
diff options
context:
space:
mode:
authorMauro Matteo Cascella <mcascell@redhat.com>2022-04-07 10:11:06 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-04-07 12:30:54 +0200
commit9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895 (patch)
tree4f8c2bc1168b262533c7cb73392ddb30aa0ce2a6 /hw/display/vga.c
parent95a3fcc7487e5bef262e1f937ed8636986764c4e (diff)
downloadqemu-9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895.zip
qemu-9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895.tar.gz
qemu-9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895.tar.bz2
display/qxl-render: fix race condition in qxl_cursor (CVE-2021-4207)
Avoid fetching 'width' and 'height' a second time to prevent possible race condition. Refer to security advisory https://starlabs.sg/advisories/22-4207/ for more information. Fixes: CVE-2021-4207 Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220407081106.343235-1-mcascell@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/vga.c')
0 files changed, 0 insertions, 0 deletions