* [Qemu-devel] [6900] Fix monitor command (screendump) (Stefan Weil)
@ 2009-03-28 17:29 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-03-28 17:29 UTC (permalink / raw)
To: qemu-devel
Revision: 6900
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6900
Author: aliguori
Date: 2009-03-28 17:29:02 +0000 (Sat, 28 Mar 2009)
Log Message:
-----------
Fix monitor command (screendump) (Stefan Weil)
starting with r6839, the monitor command 'screendump'
raises a nullpointer memory access which crashs Qemu.
Fix crash when calling screendump from monitor.
This was a regression introduced with r6839:
DisplayAllocator interface (Stefano Stabellini)
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Modified Paths:
--------------
trunk/hw/vga.c
Modified: trunk/hw/vga.c
===================================================================
--- trunk/hw/vga.c 2009-03-28 17:28:58 UTC (rev 6899)
+++ trunk/hw/vga.c 2009-03-28 17:29:02 UTC (rev 6900)
@@ -2637,6 +2637,7 @@
dcl.dpy_resize = vga_save_dpy_resize;
dcl.dpy_refresh = vga_save_dpy_refresh;
register_displaychangelistener(ds, &dcl);
+ ds->allocator = &default_allocator;
ds->surface = qemu_create_displaysurface(ds, w, h);
s->ds = ds;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-28 17:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-28 17:29 [Qemu-devel] [6900] Fix monitor command (screendump) (Stefan Weil) Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).