[Spice-commits] Branch '0.8' - server/reds.c
Gerd Hoffmann
kraxel at kemper.freedesktop.org
Tue Feb 15 02:24:49 PST 2011
server/reds.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit aa827c5b995da3c103ab4df381896e4de0c6605c
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Tue Feb 15 10:36:11 2011 +0100
fix spice-server segfault on migration
spice-server tries to use the migration information without checking
whenever this is available in the first place ...
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
diff --git a/server/reds.c b/server/reds.c
index cdc0671..7845ebe 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -3376,6 +3376,10 @@ static void reds_mig_switch(void)
SpiceMsgMainMigrationSwitchHost migrate;
RedsOutItem *item;
+ if (s == NULL) {
+ return;
+ }
+
red_printf("");
item = new_out_item(SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST);
More information about the Spice-commits
mailing list