[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [6900] Fix monitor command (screendump) (Stefan Weil)
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [6900] Fix monitor command (screendump) (Stefan Weil) |
Date: |
Sat, 28 Mar 2009 17:29:02 +0000 |
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 <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [6900] Fix monitor command (screendump) (Stefan Weil),
Anthony Liguori <=