Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb3086f
commit 6043167
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
extra-emulation/qemu/autobuild/patches/CVE-2019-12155.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
VER=3.1.0 | ||
REL=5 | ||
REL=6 | ||
SRCTBL="http://wiki.qemu-project.org/download/qemu-$VER.tar.bz2" | ||
CHKSUM="sha256::98fee0c86b299ebaf08587ba8df1dc8bb7152708d62937a0631875d95cc8d921" |