Skip to content

Commit

Permalink
qemu: patch hw/display/qxl.c, #1862
Browse files Browse the repository at this point in the history
  • Loading branch information
KexyBiscuit committed Jun 8, 2019
1 parent 6620001 commit 685d955
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions extra-emulation/qemu/autobuild/patches/CVE-2019-12155.patch
@@ -0,0 +1,24 @@
Reported-by: Bugs SysSec <address@hidden>
Signed-off-by: Prasad J Pandit <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/display/qxl.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/hw/display/qxl.c b/hw/display/qxl.c
index c8ce5781e037..632923add239 100644
--- a/hw/display/qxl.c
+++ b/hw/display/qxl.c
@@ -777,6 +777,9 @@ static void interface_release_resource(QXLInstance *sin,
QXLReleaseRing *ring;
uint64_t *item, id;

+ if (!ext.info) {
+ return;
+ }
if (ext.group_id == MEMSLOT_GROUP_HOST) {
/* host group -> vga mode update request */
QXLCommandExt *cmdext = (void *)(intptr_t)(ext.info->id);
--
2.18.1
2 changes: 1 addition & 1 deletion extra-emulation/qemu/spec
@@ -1,4 +1,4 @@
VER=3.1.0
REL=1
REL=2
SRCTBL="http://wiki.qemu-project.org/download/qemu-$VER.tar.bz2"
CHKSUM="sha256::98fee0c86b299ebaf08587ba8df1dc8bb7152708d62937a0631875d95cc8d921"

0 comments on commit 685d955

Please sign in to comment.