* [Qemu-devel] [PATCH] monitor "info" command crashes qemu
@ 2006-09-25 8:10 Juergen Keil
0 siblings, 0 replies; only message in thread
From: Juergen Keil @ 2006-09-25 8:10 UTC (permalink / raw)
To: qemu-devel
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, },
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-09-25 8:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-25 8:10 [Qemu-devel] [PATCH] monitor "info" command crashes qemu Juergen Keil
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).