[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] monitor "info" command crashes qemu
From: |
Juergen Keil |
Subject: |
[Qemu-devel] [PATCH] monitor "info" command crashes qemu |
Date: |
Mon, 25 Sep 2006 10:10:18 +0200 (CEST) |
The monitor's "info" command crashes qemu on a Solaris host.
Apparently a NULL pointer is passed as argument for a "%s" printf format
string.
The "info capture" command has a missing "params" string (help string is used
as params structure member and help structure member is NULL).
And "info snapshots" has copied&pasted the buggy structure initializer.
Fix:
Index: monitor.c
===================================================================
RCS file: /cvsroot/qemu/qemu/monitor.c,v
retrieving revision 1.56
diff -u -B -r1.56 monitor.c
--- monitor.c 5 Aug 2006 21:31:00 -0000 1.56
+++ monitor.c 25 Sep 2006 08:05:58 -0000
@@ -1230,9 +1230,9 @@
{ "profile", "", do_info_profile,
"", "show profiling information", },
{ "capture", "", do_info_capture,
- "show capture information" },
+ "", "show capture information" },
{ "snapshots", "", do_info_snapshots,
- "show the currently saved VM snapshots" },
+ "", "show the currently saved VM snapshots" },
{ NULL, NULL, },
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] monitor "info" command crashes qemu,
Juergen Keil <=